com.moximedia.aims
Class AimsTheme

java.lang.Object
  extended bycom.moximedia.aims.AimsTheme
All Implemented Interfaces:
java.io.Serializable

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

The AimsTheme 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
AimsTheme()
          Creates new AimsTheme
 
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(AimsWebSiteConfig conf, java.lang.String tag, java.lang.String name, java.lang.String value)
          Sets one of the attributes of this object using a string value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AimsTheme

public AimsTheme()
Creates new AimsTheme

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(AimsWebSiteConfig conf,
                            java.lang.String tag,
                            java.lang.String name,
                            java.lang.String value)
Sets one of the attributes of this object using a string value. This method should only be called from the SAX event handler.

Parameters:
tag - The AXL element tag containing this attribute.
name - The AXL attribute name.
value - The AXL attribute value.


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