All Packages Class Hierarchy This Package Previous Next Index
Class figPac.fLabel
java.lang.Object
|
+----figPac.fLabel
- public class fLabel
- extends Object
- implements fElement, fInteractive, MouseListener, MouseMotionListener
Prints a label. The font specified in the env entry font used in printing to
the screen and the font specified in the env entry psFont used in the postscript image.
-
fLabel()
-
-
fLabel(double, double, String)
- Creates a label whose bottom left corner is given by the first two arguments
and whose content is given by the last argument.
-
fLabel(double, double, String, String)
- Creates a label whose position is specified by the coordinates given
in the first two arguments and the justification string given in the third argument
and whose content is given by the last argument.
-
configure(String, double)
-
-
configure(String, double[])
-
-
configure(String, String)
-
-
drawgfx(Figure, Hashtable, V2V)
-
-
drawps(Figure, Hashtable, V2V)
-
-
endEdit()
-
-
endEditAndDelete()
-
-
mouseClicked(MouseEvent)
-
-
mouseDragged(MouseEvent)
-
-
mouseEntered(MouseEvent)
-
-
mouseExited(MouseEvent)
-
-
mouseMoved(MouseEvent)
-
-
mousePressed(MouseEvent)
-
-
mouseReleased(MouseEvent)
-
-
startEdit(figEdit)
-
-
toString()
-
fLabel
public fLabel()
fLabel
public fLabel(double x,
double y,
String str)
- Creates a label whose bottom left corner is given by the first two arguments
and whose content is given by the last argument.
fLabel
public fLabel(double x,
double y,
String just,
String str)
- Creates a label whose position is specified by the coordinates given
in the first two arguments and the justification string given in the third argument
and whose content is given by the last argument.
- Parameters:
- x - The x coordinate, in the user coordinate system, of the point on the label
specified by the variable just.
- y - The y coordinate, in the user coordinate system, of the point on the label
specified by the variable just.
- just - Specifies the point on the label whose user coordinates are given by
(x,y). This variable is a two character string. One character must
be one of "b" (for bottom), "c" (for center), "t" (for top) and the other character
must be one of "l" (for left), "c" (for center), "r" (for right).
drawgfx
public void drawgfx(Figure fig,
Hashtable env,
V2V usr2pxl)
drawps
public String drawps(Figure fig,
Hashtable env,
V2V usr2ps)
startEdit
public void startEdit(figEdit applet)
endEdit
public void endEdit()
endEditAndDelete
public void endEditAndDelete()
mouseClicked
public void mouseClicked(MouseEvent evt)
mousePressed
public void mousePressed(MouseEvent evt)
mouseDragged
public void mouseDragged(MouseEvent evt)
mouseReleased
public void mouseReleased(MouseEvent evt)
mouseEntered
public void mouseEntered(MouseEvent evt)
mouseExited
public void mouseExited(MouseEvent evt)
mouseMoved
public void mouseMoved(MouseEvent evt)
configure
public void configure(String name,
String Value)
configure
public void configure(String name,
double Value)
configure
public void configure(String name,
double Value[])
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index