|
|||||||||
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
public class 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()
|
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 symbol)
Deprecated. As of ArcIMS 9.3 Java Connector, replaced by setTextMarkerSymbol(com.esri.aims.mtier.model.map.layer.renderer.symbol.TextMarkerSymbol) . |
void |
setTextMarkerSymbol(TextMarkerSymbol symbol)
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()
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 valuegetLabel()
public String getLabel()
Example: String label = text.getLabel();
setLabel(java.lang.String)
public void setSymbol(TextMarkerSymbol symbol)
setTextMarkerSymbol(com.esri.aims.mtier.model.map.layer.renderer.symbol.TextMarkerSymbol)
.
Example:
TextMarkerSymbol textmarker = new TextMarkerSymbol();
textmarker.setFontSize(15);
text.setTextMarkerSymbol(textmarker);
symbol
- the TextMarkerSymbol.getTextMarkerSymbol()
public void setTextMarkerSymbol(TextMarkerSymbol symbol)
Example:
TextMarkerSymbol textmarker = new TextMarkerSymbol();
textmarker.setFontSize(15);
text.setTextMarkerSymbol(textmarker);
symbol
- the TextMarkerSymbol.getTextMarkerSymbol()
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 |