ElVis Java Interface

sv.graph
Class GLabel

java.lang.Object
  extended bysv.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)
           
 
Method Summary
 int getHeight(java.awt.Graphics g)
           
 int getWidth(java.awt.Graphics g)
           
 int getWidth(java.awt.Graphics g, java.lang.String s)
           
 void setLabel(GLabel label)
           
 void setLocation(float x, float y)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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()

ElVis Java Interface