com.moximedia.ows.website
Class Theme

java.lang.Object
  extended bycom.moximedia.ows.website.Theme
All Implemented Interfaces:
java.io.Serializable

public class Theme
extends java.lang.Object
implements java.io.Serializable

The Theme object is used to define map settings for a particular set of layers and folders to allow the user to change the map to another theme which is set up to display a different view. The themes are loaded into the site configuration object when the site is initialized, if the tag is present.

Author:
Doug Cates
See Also:
Serialized Form

Constructor Summary
Theme()
          Creates new Theme
 
Method Summary
 java.lang.String getDescription()
          Returns the description of this theme.
 java.lang.String getName()
          Returns the name of this theme.
 boolean getSameExtent()
          Returns true if the extent should stay the same when the theme is applied.
 java.lang.String getSiteConfigXml()
          Returns the XML file defining the site configuration for this theme.
 void setAxlAttribute(java.lang.String tag, java.lang.String name, java.lang.String value, java.lang.String themeConfigPath, java.lang.String frameworkPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Theme

public Theme()
Creates new Theme

Method Detail

getName

public java.lang.String getName()
Returns the name of this theme.

Returns:
The theme name.

getDescription

public java.lang.String getDescription()
Returns the description of this theme.

Returns:
The theme description.

getSameExtent

public boolean getSameExtent()
Returns true if the extent should stay the same when the theme is applied.

Returns:
False if the extent is changed to the map service initial extent, or true if the theme is applied at the same extent.

getSiteConfigXml

public java.lang.String getSiteConfigXml()
Returns the XML file defining the site configuration for this theme.

Returns:
The XML file defining the site-configuration for this theme.

setAxlAttribute

public void setAxlAttribute(java.lang.String tag,
                            java.lang.String name,
                            java.lang.String value,
                            java.lang.String themeConfigPath,
                            java.lang.String frameworkPath)


Internet Mapping Framework for OpenGIS Java Object Model API (v1.3.007)
Copyright © 2005 Moxi Media Inc. and Province of British Columbia. All Rights Reserved.