|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.aims.AimsTextObject
Implementation of ArcIMS TextObject for acetate layers. An AimsTextObject contains a label, text symbol, and locational information for user specified map text.
| Field Summary |
| Constructor Summary | |
AimsTextObject()
Creates new AimsText with no arguments |
|
AimsTextObject(java.lang.String label)
Creates new AimsTextObject with a label |
|
AimsTextObject(java.lang.String label,
double x,
double y)
Creates new AimsTextObject with a label and coordinates |
|
| Method Summary | |
java.lang.Object |
clone()
Creates a copy of this object. |
int |
getAcetateObjectType()
Gets the acetate object type. |
java.lang.String |
getLabel()
Gets the label text for the object |
java.lang.Object |
getObjectTag()
Gets the object tag. |
java.lang.String |
getProperty(java.lang.String name)
Gets the value of a property. |
java.util.Set |
getPropertyNames()
Returns a Set containing the property names. |
AimsTextMarkerSymbol |
getSymbol()
Gets the text symbol for the object |
int |
getUnits()
|
java.lang.String |
getUnitsString()
|
double |
getX()
|
double |
getY()
|
boolean |
hasProperties()
Returns an indicator of whether the object has programmer defined properties. |
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 |
setCoordsys(AimsCoordsys coordsys)
Sets the coordsys for this object. |
void |
setLabel(java.lang.String label)
Sets the label text for the object |
void |
setLocation(double x,
double y)
Sets the location coordinate for the object |
void |
setMaxScale(double scale,
AimsMap map)
|
void |
setMaxScaleFactor(double unitsPerPixel)
|
void |
setMinScale(double scale,
AimsMap map)
|
void |
setMinScaleFactor(double unitsPerPixel)
|
void |
setObjectTag(java.lang.Object tag)
Sets an object tag for this object. |
void |
setProperty(java.lang.String name,
java.lang.String value)
Sets the value of a property (programmer defined). |
void |
setSymbol(AimsTextMarkerSymbol symbol)
Sets the text symbol for the object |
void |
setUnits(int units)
Sets the units of the acetate object. |
void |
setUnits(java.lang.String units)
Sets the units of the acetate object. |
java.lang.String |
toAxlString()
Returns the AXL string to refresh this object, using the default environment coordinate separators. |
java.lang.String |
toAxlString(AimsEnvironment env)
Returns the AXL string to refresh this object, using the coordinate separators in the specified environnment setting. |
java.lang.String |
toString()
Returns a string describing this object. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AimsTextObject()
public AimsTextObject(java.lang.String label)
label - The text label for the object
public AimsTextObject(java.lang.String label,
double x,
double y)
label - The text label for the objectx - The X position of the AimsTextObjecty - The Y position of the AimsTextObject| Method Detail |
public java.lang.String getProperty(java.lang.String name)
getProperty in interface AimsAcetateObjectname - The property name
public void setProperty(java.lang.String name,
java.lang.String value)
setProperty in interface AimsAcetateObjectname - The property namevalue - The property value.public java.util.Set getPropertyNames()
getPropertyNames in interface AimsAcetateObjectpublic boolean hasProperties()
hasProperties in interface AimsAcetateObjectpublic void setObjectTag(java.lang.Object tag)
setObjectTag in interface AimsAcetateObjectpublic java.lang.Object getObjectTag()
getObjectTag in interface AimsAcetateObjectpublic java.lang.Object clone()
clone in interface AimsAcetateObjectpublic void setCoordsys(AimsCoordsys coordsys)
coordsys - The coordsys for this object.
public void setMinScale(double scale,
AimsMap map)
public void setMinScaleFactor(double unitsPerPixel)
public void setMaxScale(double scale,
AimsMap map)
public void setMaxScaleFactor(double unitsPerPixel)
public void setLocation(double x,
double y)
x - The X position of the AimsTextObjecty - The Y position of the AimsTextObjectpublic double getX()
public double getY()
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
label - The text label for the objectpublic AimsTextMarkerSymbol getSymbol()
public void setSymbol(AimsTextMarkerSymbol symbol)
symbol - The text symbol (AimsSimpleTextSymbol) for the objectpublic java.lang.String toString()
public java.lang.String toAxlString()
toAxlString in interface AimsAcetateObjectpublic java.lang.String toAxlString(AimsEnvironment env)
toAxlString in interface AimsAcetateObjectenv - The environment object containing coordinate separators.
public int getAcetateObjectType()
getAcetateObjectType in interface AimsAcetateObjectpublic void setUnits(java.lang.String units)
units - The units of the acetate object. Valid values are
"pixel" and "database".public void setUnits(int units)
setUnits in interface AimsAcetateObjectunits - The units of the acetate object. Valid values are
AimsAcetateObject.ACETATE_OBJECT_UNITS_DATABASE or
AimsAcetateObject.ACETATE_OBJECT_UNITS_PIXEL.public int getUnits()
getUnits in interface AimsAcetateObjectpublic java.lang.String getUnitsString()
public void setAxlAttribute(java.lang.String tag,
java.lang.String name,
java.lang.String value)
tag - The AXL element tag containing this attribute.name - The AXL attribute name.value - The AXL attribute value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||