com.moximedia.aims
Class AimsShieldSymbol

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

public class AimsShieldSymbol
extends java.lang.Object
implements AimsSymbol, java.io.Serializable, java.lang.Cloneable

See Also:
Serialized Form

Constructor Summary
AimsShieldSymbol()
          Creates new ShieldSymbol
 
Method Summary
 java.lang.Object clone()
          Creates a copy of this symbol.
 boolean getAntialiasing()
          Gets the value of attribute antialiasing
 java.lang.String getFont()
          Gets the value of attribute font
 AimsColor getFontColor()
          Gets the value of attribute fontColor
 int getFontSize()
          Gets the value of attribute fontSize
 java.lang.String getFontStyle()
          Gets the value of attribute fontStyle
 java.lang.String getLabelMode()
          Gets the value of attribute labelMode
 int getMinSize()
          Gets the value of attribute minSize
 AimsColor getShadow()
          Gets the value of attribute shadow
 java.lang.String getType()
          Gets the value of attribute type
 void highlight(AimsColor highlightColor, double transparency)
           
 boolean isModified()
          Returns a boolean value indicating whether the object has been modified by the user since it was loaded from the map service.
 void setAntialiasing(boolean antialiasing)
          Sets the value of attribute antialising.
 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 setFont(java.lang.String font)
          Sets the value of attribute font.
 void setFontColor(AimsColor color)
          Sets the value of attribute fontColor.
 void setFontSize(int fontSize)
          Sets the value of attribute fontSize.
 void setFontStyle(java.lang.String fontStyle)
          Sets the value of attribute fontStyle.
 void setLabelMode(java.lang.String labelMode)
          Sets the value of attribute labelMode.
 void setMinSize(int minSize)
          Sets the value of attribute minSize.
 void setModified(boolean isModified)
          Sets the modified flag of the object, indicating that it needs to be sent to the map server when the map is refreshed.
 void setShadow(AimsColor color)
          Sets the value of attribute shadow.
 void setType(java.lang.String type)
          Sets the value of attribute type.
 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 text representation of of this class.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AimsShieldSymbol

public AimsShieldSymbol()
Creates new ShieldSymbol

Method Detail

clone

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

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

setType

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

Parameters:
type - The attribute value.

getType

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

Returns:
The value of attribute type

setAntialiasing

public void setAntialiasing(boolean antialiasing)
Sets the value of attribute antialising.

Parameters:
antialiasing - The attribute value.

getAntialiasing

public boolean getAntialiasing()
Gets the value of attribute antialiasing

Returns:
The value of attribute antialiasing

setFont

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

Parameters:
font - The attribute value.

getFont

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

Returns:
The value of attribute font

setFontColor

public void setFontColor(AimsColor color)
Sets the value of attribute fontColor.

Parameters:
color - The attribute value.

getFontColor

public AimsColor getFontColor()
Gets the value of attribute fontColor

Returns:
The value of attribute fontColor

setFontSize

public void setFontSize(int fontSize)
Sets the value of attribute fontSize.

Parameters:
fontSize - The attribute value.

getFontSize

public int getFontSize()
Gets the value of attribute fontSize

Returns:
The value of attribute fontSize

setFontStyle

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

Parameters:
fontStyle - The attribute value.

getFontStyle

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

Returns:
The value of attribute fontStyle

setLabelMode

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

Parameters:
labelMode - The attribute value.

getLabelMode

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

Returns:
The value of attribute labelMode

setMinSize

public void setMinSize(int minSize)
Sets the value of attribute minSize.

Parameters:
minSize - The attribute value.

getMinSize

public int getMinSize()
Gets the value of attribute minSize

Returns:
The value of attribute minSize

setShadow

public void setShadow(AimsColor color)
Sets the value of attribute shadow.


getShadow

public AimsColor getShadow()
Gets the value of attribute shadow

Returns:
The value of attribute shadow

isModified

public boolean isModified()
Returns a boolean value indicating whether the object has been modified by the user since it was loaded from the map service.

Specified by:
isModified in interface AimsSymbol
Returns:
True if modified, otherwise false.

setModified

public void setModified(boolean isModified)
Sets the modified flag of the object, indicating that it needs to be sent to the map server when the map is refreshed.

Specified by:
setModified in interface AimsSymbol
Parameters:
isModified - True if the object has been modified.

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.

toString

public java.lang.String toString()
Returns a text representation of of this class.

Specified by:
toString in interface AimsSymbol
Returns:
A string describing the class

toAxlString

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

Specified by:
toAxlString in interface AimsSymbol
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 AimsSymbol
Returns:
The AXL string to refresh this object.

highlight

public void highlight(AimsColor highlightColor,
                      double transparency)
Specified by:
highlight in interface AimsSymbol