com.moximedia.aims
Class AimsRasterMarkerSymbol

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

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

Implementation of an ArcIMS RasterMarkerSymbol.

See Also:
Serialized Form

Constructor Summary
AimsRasterMarkerSymbol()
          Creates new AimsRasterMarkerSymbol with no arguments
 
Method Summary
 java.lang.Object clone()
          Creates a copy of this symbol.
 boolean getAntialiasing()
          Gets the value of attribute antialiasing
 AimsPoint getHotSpot()
          Gets the value of attribute hotSpot
 java.lang.String getImage()
          Gets the value of attribute image
 boolean getOverlap()
          Gets the value of attribute overlap
 AimsColor getShadow()
          Gets the value of attribute shadow
 AimsPoint getSize()
          Gets the value of attribute size
 double getTransparency()
          Gets the value of attribute transparency
 java.lang.String getUrl()
          Gets the value of attribute url
 boolean getUseCentroid()
          Gets the value of attribute useCentroid
 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 setHotSpot(AimsPoint hotSpot)
          Sets the value of attribute hotSpot.
 void setImage(java.lang.String image)
          Sets the value of attribute image.
 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 setShadow(AimsColor shadow)
          Sets the value of attribute shadow.
 void setSize(AimsPoint size)
          Sets the value of attribute size.
 void setTransparency(double transparency)
          Sets the value of attribute transparency.
 void setUrl(java.lang.String url)
          Sets the value of attribute url.
 void setUseCentroid(boolean useCentroid)
          Sets the value of attribute useCentroid.
 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 object.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AimsRasterMarkerSymbol

public AimsRasterMarkerSymbol()
Creates new AimsRasterMarkerSymbol 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 AimsRasterMarkerSymbol before use.

setImage

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

Parameters:
image - The attribute value.

getImage

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

Returns:
The value of attribute image

setUrl

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

Parameters:
url - The attribute value.

getUrl

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

Returns:
The value of attribute url

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

setHotSpot

public void setHotSpot(AimsPoint hotSpot)
Sets the value of attribute hotSpot.

Parameters:
hotSpot - The attribute value.

getHotSpot

public AimsPoint getHotSpot()
Gets the value of attribute hotSpot

Returns:
The value of attribute hotSpot

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

setShadow

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

Parameters:
shadow - The attribute value.

getShadow

public AimsColor getShadow()
Gets the value of attribute shadow

Returns:
The value of attribute shadow

setSize

public void setSize(AimsPoint size)
Sets the value of attribute size.

Parameters:
size - The attribute value.

getSize

public AimsPoint getSize()
Gets the value of attribute size

Returns:
The value of attribute size

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

setUseCentroid

public void setUseCentroid(boolean useCentroid)
Sets the value of attribute useCentroid.

Parameters:
useCentroid - The attribute value.

getUseCentroid

public boolean getUseCentroid()
Gets the value of attribute useCentroid

Returns:
The value of attribute useCentroid

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 object.

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

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