All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class figPac.fTeXlabel

java.lang.Object
   |
   +----figPac.fTeXlabel

public class fTeXlabel
extends Object
implements fElement, lblFiler, fInteractive, MouseListener, MouseMotionListener
Writes a label in the format used by figMac.tex .


Constructor Index

 o fTeXlabel()
 o fTeXlabel(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.
 o fTeXlabel(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.
 o fTeXlabel(double, double, String, String, String)
Creates a label.

Method Index

 o configure(String, double)
 o configure(String, double[])
 o configure(String, String)
 o drawgfx(Figure, Hashtable, V2V)
 o drawps(Figure, Hashtable, V2V)
 o endEdit()
 o endEditAndDelete()
 o mouseClicked(MouseEvent)
 o mouseDragged(MouseEvent)
 o mouseEntered(MouseEvent)
 o mouseExited(MouseEvent)
 o mouseMoved(MouseEvent)
 o mousePressed(MouseEvent)
 o mouseReleased(MouseEvent)
 o startEdit(figEdit)
 o toString()
 o writeLbl(Figure, Hashtable, V2V)

Constructors

 o fTeXlabel
 public fTeXlabel()
 o fTeXlabel
 public fTeXlabel(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.

 o fTeXlabel
 public fTeXlabel(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).
 o fTeXlabel
 public fTeXlabel(double x,
                  double y,
                  String just,
                  String str,
                  String screenStr)
Creates a label. The arguments specify, in order: x coordinate, y coordinate, justification string, TeX label, substitute label for screen display.

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).
str - The TeX label itself.
screenStr - A substitute label that is used for screen displays in place of the TeX label.

Methods

 o drawgfx
 public void drawgfx(Figure fig,
                     Hashtable env,
                     V2V usr2pxl)
 o drawps
 public String drawps(Figure fig,
                      Hashtable env,
                      V2V usr2ps)
 o writeLbl
 public String writeLbl(Figure fig,
                        Hashtable env,
                        V2V usr2pxl)
 o startEdit
 public void startEdit(figEdit applet)
 o endEdit
 public void endEdit()
 o endEditAndDelete
 public void endEditAndDelete()
 o mouseClicked
 public void mouseClicked(MouseEvent evt)
 o mousePressed
 public void mousePressed(MouseEvent evt)
 o mouseDragged
 public void mouseDragged(MouseEvent evt)
 o mouseReleased
 public void mouseReleased(MouseEvent evt)
 o mouseEntered
 public void mouseEntered(MouseEvent evt)
 o mouseExited
 public void mouseExited(MouseEvent evt)
 o mouseMoved
 public void mouseMoved(MouseEvent evt)
 o configure
 public void configure(String name,
                       String Value)
 o configure
 public void configure(String name,
                       double Value)
 o configure
 public void configure(String name,
                       double Value[])
 o toString
 public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index