|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.esri.aims.mtier.model.acetate.Object | +--com.esri.aims.mtier.model.acetate.Text
Defines a Text object to be drawn as an acetate layer. The Text object extends the Object class from the acetate package.
Constructor Summary | |
Text()
Constructs an instance of a Text object. |
Method Summary | |
String |
getLabel()
Returns the label value for this object. |
TextMarkerSymbol |
getTextMarkerSymbol()
Returns the TextMarkerSymbol associated with this Text object. |
String |
getType()
Returns the type of Acetate object this class represents. |
double |
getX()
Returns the X- coordinate value associated with this Text object. |
double |
getY()
Returns the Y- coordinate value for thsi Text object. |
void |
setLabel(String value)
Sets the label value for this object. |
void |
setSymbol(TextMarkerSymbol object)
Assigns a TextMarkerSymbol to this Text object. |
void |
setX(double value)
Sets the X- coordinate value for this Text object. |
void |
setY(double value)
Sets the Y- coordinate value for thsi Text object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Text()
Example: Text text = new Text();
Method Detail |
public String getType()
Object
getType
in interface MapSurroundings
getType
in class Object
public void setX(double value)
Example: text.setX(-125.00);
value
- the X coordinate value.getX()
public double getX()
Example: double x = text.getX();
setX(double)
public void setY(double value)
Example: text.setY(45.0);
value
- the Y coordinate value.getY()
public double getY()
Example: double y = text.getY();
setY(double)
public void setLabel(String value)
Example: text.setLabel("You are here");
value
- the label value.getLabel()
public String getLabel()
Example: String label = text.getLabel();
setLabel(java.lang.String)
public void setSymbol(TextMarkerSymbol object)
Example:
TextMarkerSymbol textmarker = new TextMarkerSymbol();
textmarker.setFontSize(15);
text.setSymbol(textmarker);
object
- the TextMarkerSymbol.#getSymbol
public TextMarkerSymbol getTextMarkerSymbol()
Example:
TextMarkerSymbol textmarker = (TextMarkerSymbol)text.getTextMarkerSymbol();
setSymbol(com.esri.aims.mtier.model.map.layer.renderer.symbol.TextMarkerSymbol)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |