com.moximedia.aims
Class AimsExact

java.lang.Object
  extended bycom.moximedia.aims.AimsExact
All Implemented Interfaces:
AimsValueMapObject, java.lang.Cloneable, java.io.Serializable

public class AimsExact
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable, AimsValueMapObject

Implements an exact match symbol for a ValueMapRenderer or ValueMapLabelRenderer

Author:
Doug Cates - www.moximedia.com
See Also:
Serialized Form

Constructor Summary
AimsExact()
          Creates new Exact
AimsExact(java.lang.String value)
          Creates new Exact with a value
AimsExact(java.lang.String value, java.lang.String label)
          Creates new Exact with a value and a label
AimsExact(java.lang.String value, java.lang.String label, AimsSymbol symbol)
          Creates new Exact with a value, label and symbol
 
Method Summary
 java.lang.Object clone()
          Creates a copy of this object.
 java.lang.String getLabel()
          Gets the value of attribute label
 java.lang.String getMethod()
          Gets the value of attribute method
 AimsSymbol getSymbol()
          Gets the value of attribute symbol
 java.lang.String getValue()
          Gets the value of attribute value
 void highlight(AimsColor highlightColor, double transparency)
          Sets the symbol to the specified highlight color.
 boolean isModified()
          Returns a boolean indicating that the object has been modified.
 void setAxlAttribute(java.lang.String tag, java.lang.String name, java.lang.String value)
          Sets one of the attributes of this object using a string value.
 void setLabel(java.lang.String label)
          Sets the value of attribute label.
 void setMethod(java.lang.String method)
          Sets the value of attribute method.
 void setModified(boolean isModified)
          Sets the value of attribute modified.
 void setSymbol(AimsSymbol symbol)
          Sets the value of attribute symbol.
 void setValue(java.lang.String value)
          Sets the value of attribute value.
 java.lang.String toAxlString()
          Returns the AXL string to refresh this object.
 java.lang.String toAxlString(AimsEnvironment env)
          Returns the AXL string to refresh this object.
 java.lang.String toString()
          Returns a string containing the name of this class.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AimsExact

public AimsExact()
Creates new Exact


AimsExact

public AimsExact(java.lang.String value)
Creates new Exact with a value

Parameters:
value - The exact value

AimsExact

public AimsExact(java.lang.String value,
                 java.lang.String label)
Creates new Exact with a value and a label

Parameters:
value - The exact value
label - The exact label

AimsExact

public AimsExact(java.lang.String value,
                 java.lang.String label,
                 AimsSymbol symbol)
Creates new Exact with a value, label and symbol

Parameters:
value - The exact value
label - The exact label
symbol - The symbol
Method Detail

clone

public java.lang.Object clone()
Creates a copy of this object.

Specified by:
clone in interface AimsValueMapObject
Returns:
An object that is a copy of this object. The object must be cast to an AimsExact or AimsValueMapObject before use.

getLabel

public java.lang.String getLabel()
Gets the value of attribute label

Returns:
The value of attribute label

setLabel

public void setLabel(java.lang.String label)
Sets the value of attribute label.

Parameters:
label - The attribute value.

getMethod

public java.lang.String getMethod()
Gets the value of attribute method

Returns:
The value of attribute method

setMethod

public void setMethod(java.lang.String method)
Sets the value of attribute method.

Parameters:
method - The attribute value.

getValue

public java.lang.String getValue()
Gets the value of attribute value

Returns:
The value of attribute value

setValue

public void setValue(java.lang.String value)
Sets the value of attribute value.

Parameters:
value - The attribute value.

getSymbol

public AimsSymbol getSymbol()
Gets the value of attribute symbol

Returns:
The value of attribute symbol

setSymbol

public void setSymbol(AimsSymbol symbol)
Sets the value of attribute symbol.

Parameters:
symbol - The attribute value.

toString

public java.lang.String toString()
Returns a string containing the name of this class.

Returns:
The name of the class

setAxlAttribute

public void setAxlAttribute(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.

toAxlString

public java.lang.String toAxlString()
Returns the AXL string to refresh this object.

Specified by:
toAxlString in interface AimsValueMapObject
Returns:
The AXL string to refresh this object.

toAxlString

public java.lang.String toAxlString(AimsEnvironment env)
Returns the AXL string to refresh this object.

Specified by:
toAxlString in interface AimsValueMapObject
Parameters:
env - The AimsEnvironment object used to generate the proper AXL for the version of ArcIMS being used.
Returns:
The AXL string to refresh this object.

highlight

public void highlight(AimsColor highlightColor,
                      double transparency)
Sets the symbol to the specified highlight color.

Specified by:
highlight in interface AimsValueMapObject
Parameters:
highlightColor - The color to use for highlighting features.

isModified

public boolean isModified()
Returns a boolean indicating that the object has been modified.

Specified by:
isModified in interface AimsValueMapObject
Returns:
True if the object has been modified, otherwise false.

setModified

public void setModified(boolean isModified)
Sets the value of attribute modified.

Specified by:
setModified in interface AimsValueMapObject
Parameters:
isModified - The attribure setting.


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.