Class TextObject
java.lang.Object
PlotObject
TextObject
public class TextObject
- extends PlotObject
Constructor Summary |
TextObject(java.lang.String text,
double x,
double y)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextObject
public TextObject(java.lang.String text,
double x,
double y)
getText
public java.lang.String getText()
- Returns:
- the text
setText
public void setText(java.lang.String text)
- Parameters:
text
- the text to set
getX
public double getX()
- Returns:
- the x
setX
public void setX(double x)
- Parameters:
x
- the x to set
getY
public double getY()
- Returns:
- the y
setY
public void setY(double y)
- Parameters:
y
- the y to set