com.moximedia.aims
Class AimsSimplePolygonSymbol

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

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

Implementation of an ArcIMS SimplePolygonSymbol.

See Also:
Serialized Form

Constructor Summary
AimsSimplePolygonSymbol()
          Creates new SimplePolygonSymbol with no arguments
 
Method Summary
 java.lang.Object clone()
          Creates a copy of this symbol.
 boolean getAntialiasing()
          Gets the value of attribute antialiasing
 boolean getBoundary()
          Gets the value of attribute boundary
 java.lang.String getBoundaryCapType()
          Gets the value of attribute boundaryCapType
 AimsColor getBoundaryColor()
          Gets the value of attribute boundaryColor
 java.lang.String getBoundaryJoinType()
          Gets the value of attribute boundaryJoinType
 double getBoundaryTransparency()
          Gets the value of attribute boundaryTransparency
 java.lang.String getBoundaryType()
          Gets the value of attribute boundaryType
 int getBoundaryWidth()
          Gets the value of attribute boundaryWidth
 AimsColor getFillColor()
          Gets the value of attribute fillColor
 int getFillInterval()
          Gets the value of attribute fillInterval
 double getFillTransparency()
          Gets the value of attribute fillTransparency
 java.lang.String getFillType()
          Gets the value of attribute fillType
 boolean getOverlap()
          Gets the value of attribute overlap
 double getTransparency()
          Gets the value of attribute transparency
 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 setBoundary(boolean boundary)
          Sets the value of attribute boundary.
 void setBoundaryCapType(java.lang.String boundaryCapType)
          Sets the value of attribute boundaryCaptype.
 void setBoundaryColor(AimsColor boundaryColor)
          Sets the value of attribute boundaryColor.
 void setBoundaryJoinType(java.lang.String boundaryJoinType)
          Sets the value of attribute boundaryJoinType.
 void setBoundaryTransparency(double boundaryTransparency)
          Sets the value of attribute boundaryTransparency.
 void setBoundaryType(java.lang.String boundaryType)
          Sets the value of attribute boundaryType.
 void setBoundaryWidth(int boundaryWidth)
          Sets the value of attribute boundaryWidth.
 void setFillColor(AimsColor fillColor)
          Sets the value of attribute fillColor.
 void setFillInterval(int fillInterval)
          Sets the value of attribute fillInterval.
 void setFillTransparency(double fillTransparency)
          Sets the value of attribute fillTransparency.
 void setFillType(java.lang.String fillType)
          Sets the value of attribute fillType.
 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 setOverlap(boolean overlap)
          Sets the value of attribute overlap.
 void setTransparency(double transparency)
          Sets the value of attribute transparency.
 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

AimsSimplePolygonSymbol

public AimsSimplePolygonSymbol()
Creates new SimplePolygonSymbol with no arguments

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 AimsSimplePolygonSymbol before use.

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

setBoundary

public void setBoundary(boolean boundary)
Sets the value of attribute boundary.

Parameters:
boundary - The attribute value.

getBoundary

public boolean getBoundary()
Gets the value of attribute boundary

Returns:
The value of attribute boundary

setBoundaryCapType

public void setBoundaryCapType(java.lang.String boundaryCapType)
Sets the value of attribute boundaryCaptype.

Parameters:
boundaryCapType - The attribute value, one of "butt", "round", or "square".

getBoundaryCapType

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

Returns:
The value of attribute boundaryCapType

setBoundaryColor

public void setBoundaryColor(AimsColor boundaryColor)
Sets the value of attribute boundaryColor.

Parameters:
boundaryColor - The attribute value.

getBoundaryColor

public AimsColor getBoundaryColor()
Gets the value of attribute boundaryColor

Returns:
The value of attribute boundaryColor

setBoundaryJoinType

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

Parameters:
boundaryJoinType - The attribute value, one of "round", "miter", or "bevel".

getBoundaryJoinType

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

Returns:
The value of attribute boundaryJoinType

setBoundaryTransparency

public void setBoundaryTransparency(double boundaryTransparency)
Sets the value of attribute boundaryTransparency.

Parameters:
boundaryTransparency - The attribute value.

getBoundaryTransparency

public double getBoundaryTransparency()
Gets the value of attribute boundaryTransparency

Returns:
The value of attribute boundaryTransparency

setBoundaryType

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

Parameters:
boundaryType - The attribute value, one of "solid", "dash", "dot", "dash_dot", or "dash_dot_dot".

getBoundaryType

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

Returns:
The value of attribute boundaryType

setBoundaryWidth

public void setBoundaryWidth(int boundaryWidth)
Sets the value of attribute boundaryWidth.

Parameters:
boundaryWidth - The attribute value.

getBoundaryWidth

public int getBoundaryWidth()
Gets the value of attribute boundaryWidth

Returns:
The value of attribute boundaryWidth

setFillColor

public void setFillColor(AimsColor fillColor)
Sets the value of attribute fillColor.

Parameters:
fillColor - The attribute value.

getFillColor

public AimsColor getFillColor()
Gets the value of attribute fillColor

Returns:
The value of attribute fillColor

setFillInterval

public void setFillInterval(int fillInterval)
Sets the value of attribute fillInterval.

Parameters:
fillInterval - The attribute value.

getFillInterval

public int getFillInterval()
Gets the value of attribute fillInterval

Returns:
The value of attribute fillInterval

setFillTransparency

public void setFillTransparency(double fillTransparency)
Sets the value of attribute fillTransparency.

Parameters:
fillTransparency - The attribute value.

getFillTransparency

public double getFillTransparency()
Gets the value of attribute fillTransparency

Returns:
The value of attribute fillTransparency

setFillType

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

Parameters:
fillType - The attribute value, one of "solid", "bdiagonal", "fdiagonal", "cross", "diagcross", "horizontal", "vertical", "gray", "lightgray", or "darkgray".

getFillType

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

Returns:
The value of attribute fillType

setOverlap

public void setOverlap(boolean overlap)
Sets the value of attribute overlap.

Parameters:
overlap - The attribute value.

getOverlap

public boolean getOverlap()
Gets the value of attribute overlap

Returns:
The value of attribute overlap

setTransparency

public void setTransparency(double transparency)
Sets the value of attribute transparency.

Parameters:
transparency - The attribute value.

getTransparency

public double getTransparency()
Gets the value of attribute transparency

Returns:
The value of attribute transparency

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 is protected and 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