sv.graph
Class GLabel
java.lang.Object
sv.graph.GLabel
- All Implemented Interfaces:
- java.io.Serializable
- public class GLabel
- extends java.lang.Object
- implements java.io.Serializable
Define a label data structure
- See Also:
- Serialized Form
Constructor Summary |
GLabel()
|
GLabel(GLabel g)
|
GLabel(java.lang.String t,
float x,
float y,
java.lang.String fName,
java.lang.String fStyle,
float h,
java.awt.Color c,
float rot)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GLabel
public GLabel()
GLabel
public GLabel(java.lang.String t,
float x,
float y,
java.lang.String fName,
java.lang.String fStyle,
float h,
java.awt.Color c,
float rot)
GLabel
public GLabel(GLabel g)
setLabel
public void setLabel(GLabel label)
setLocation
public void setLocation(float x,
float y)
getWidth
public int getWidth(java.awt.Graphics g)
getWidth
public int getWidth(java.awt.Graphics g,
java.lang.String s)
getHeight
public int getHeight(java.awt.Graphics g)
toString
public java.lang.String toString()