moebiusViewer.shape
Class Text
java.lang.Object
moebiusViewer.shape.AbstractShape
moebiusViewer.shape.Text
- All Implemented Interfaces:
- java.lang.Cloneable, MoebiusShape, java.io.Serializable
- public class Text
- extends AbstractShape
- See Also:
- Serialized Form
|
Constructor Summary |
Text()
|
Text(java.lang.String aLabel)
|
| Methods inherited from class moebiusViewer.shape.AbstractShape |
addPropertyChangeListener, clone, dontFirePropertyChange, equals, firePropertyChange, firePropertyChange, getColor, getFilled, getLabel, getLineWidth, getPickable, getPointOutline, getPointRadius, getShowLabel, getString, getTools, isDoFirePropertyChange, isPickable, removePropertyChangeListener, reset, setColor, setDoFirePropertyChange, setFilled, setLabel, setLineWidth, setPickable, setPointOutline, setPointRadius, setShowLabel |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Text
public Text()
Text
public Text(java.lang.String aLabel)
getX
public double getX()
setX
public void setX(double v)
getY
public double getY()
setY
public void setY(double v)
getHorizontalTextLayout
public int getHorizontalTextLayout()
setHorizontalTextLayout
public void setHorizontalTextLayout(int aNum)
getVerticalTextLayout
public int getVerticalTextLayout()
setVerticalTextLayout
public void setVerticalTextLayout(int aNum)
getFont
public java.awt.Font getFont()
setFont
public void setFont(java.awt.Font f)
getFontColor
public java.awt.Color getFontColor()
setFontColor
public void setFontColor(java.awt.Color c)
draw
public void draw(MoebiusGraphics context)
- Specified by:
draw in interface MoebiusShape- Overrides:
draw in class AbstractShape