physicon.graphLib
Class Label

java.lang.Object
  |
  +--physicon.graphLib.GraphElementBase
        |
        +--physicon.graphLib.Label

public class Label
extends GraphElementBase


Field Summary
static int BASE
           
static int BOTTOM
           
static int CENTER
           
static int LEFT
           
static int RIGHT
           
static int TOP
           
static int VCENTER
           
 
Constructor Summary
Label(LabelDrawer drawer)
           
 
Method Summary
 DoublePoint getLocation()
           
 void setLocation(double x, double y)
           
 void setLocation(DoublePoint loc)
           
 void setText(java.lang.String text)
           
 
Methods inherited from class physicon.graphLib.GraphElementBase
addDependent, contains, contains, getContainer, getContext, getDepend, getDrawer, getGEObject, getGraphElement, getRedrawFlag, getRefPoint, getRoughRect, getZLevel, isCreated, isVisible, setDrawer, setRedrawFlag, setRefPoint, setVisible, setZLevel, update, updateDrawer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LEFT

public static final int LEFT

RIGHT

public static final int RIGHT

CENTER

public static final int CENTER

TOP

public static final int TOP

BOTTOM

public static final int BOTTOM

BASE

public static final int BASE

VCENTER

public static final int VCENTER
Constructor Detail

Label

public Label(LabelDrawer drawer)
Method Detail

setLocation

public void setLocation(double x,
                        double y)

setLocation

public void setLocation(DoublePoint loc)

getLocation

public DoublePoint getLocation()

setText

public void setText(java.lang.String text)