moebiusViewer.shape
Class Text

java.lang.Object
  extended bymoebiusViewer.shape.AbstractShape
      extended bymoebiusViewer.shape.Text
All Implemented Interfaces:
java.lang.Cloneable, MoebiusShape, java.io.Serializable

public class Text
extends AbstractShape

See Also:
Serialized Form

Field Summary
 
Fields inherited from class moebiusViewer.shape.AbstractShape
EPS, EPSSQR, propertyChangeSupport, toolList
 
Constructor Summary
Text()
           
Text(java.lang.String aLabel)
           
 
Method Summary
 void draw(MoebiusGraphics context)
           
 java.awt.Font getFont()
           
 java.awt.Color getFontColor()
           
 int getHorizontalTextLayout()
           
 int getVerticalTextLayout()
           
 double getX()
           
 double getY()
           
 void setFont(java.awt.Font f)
           
 void setFontColor(java.awt.Color c)
           
 void setHorizontalTextLayout(int aNum)
           
 void setVerticalTextLayout(int aNum)
           
 void setX(double v)
           
 void setY(double v)
           
 
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
 

Constructor Detail

Text

public Text()

Text

public Text(java.lang.String aLabel)
Method Detail

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