com.moximedia.aims
Class AimsTrueTypeMarkerSymbol

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

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

Implementation of an ArcIMS TrueTypeMarkerSymbol.

Author:
Doug Cates doug@moximedia.com
See Also:
Serialized Form

Constructor Summary
AimsTrueTypeMarkerSymbol()
          Creates new SimplePolygonSymbol with no arguments
 
Method Summary
 java.lang.Object clone()
          Creates a copy of this symbol.
 double getAngle()
          Gets the value of attribute angle
 java.lang.String getAngleField()
           
 boolean getAntialiasing()
          Gets the value of attribute antialiasing
 int getCharacter()
          Gets the value of attribute character
 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
 AimsColor getGlowing()
          Gets the value of attribute glowing
 AimsColor getOutline()
          Gets the value of attribute outline
 boolean getOverlap()
          Gets the value of attribute overlap
 java.lang.String getRotateMethod()
           
 AimsColor getShadow()
          Gets the value of attribute shadow
 double getTransparency()
          Gets the value of attribute transparency
 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 setAngle(double angle)
          Sets the value of attribute angle.
 void setAngleField(java.lang.String fieldName)
          Sets the value of attribute angle field.
 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 setCharacter(int character)
          Sets the value of attribute character.
 void setFont(java.lang.String font)
          Sets the value of attribute font.
 void setFontColor(AimsColor fontColor)
          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 setGlowing(AimsColor glowing)
          Sets the value of attribute glowing.
 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 setOutline(AimsColor outline)
          Sets the value of attribute outline.
 void setOverlap(boolean overlap)
          Sets the value of attribute overlap.
 void setRotateMethod(java.lang.String method)
          Sets the value of attribute rotate method.
 void setShadow(AimsColor shadow)
          Sets the value of attribute shadow.
 void setTransparency(double transparency)
          Sets the value of attribute transparency.
 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 class.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AimsTrueTypeMarkerSymbol

public AimsTrueTypeMarkerSymbol()
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 AimsTrueTypeMarkerSymbol before use.

setAngleField

public void setAngleField(java.lang.String fieldName)
Sets the value of attribute angle field.

Parameters:
fieldName - The attribute value.

getAngleField

public java.lang.String getAngleField()

getRotateMethod

public java.lang.String getRotateMethod()

setRotateMethod

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

Parameters:
method - The attribute value.

setCharacter

public void setCharacter(int character)
Sets the value of attribute character.

Parameters:
character - The attribute value.

getCharacter

public int getCharacter()
Gets the value of attribute character

Returns:
The value of attribute character

setAngle

public void setAngle(double angle)
Sets the value of attribute angle.

Parameters:
angle - The attribute value.

getAngle

public double getAngle()
Gets the value of attribute angle

Returns:
The value of attribute angle

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 fontColor)
Sets the value of attribute fontColor.

Parameters:
fontColor - 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

setGlowing

public void setGlowing(AimsColor glowing)
Sets the value of attribute glowing.

Parameters:
glowing - The attribute value.

getGlowing

public AimsColor getGlowing()
Gets the value of attribute glowing

Returns:
The value of attribute glowing

setOutline

public void setOutline(AimsColor outline)
Sets the value of attribute outline.

Parameters:
outline - The attribute value.

getOutline

public AimsColor getOutline()
Gets the value of attribute outline

Returns:
The value of attribute outline

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

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


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.