All Packages Class Hierarchy This Package Previous Next Index
Class figPac.fLine
java.lang.Object
|
+----figPac.fLine
- public class fLine
- extends Object
- implements fElement, fInteractive, MouseListener, MouseMotionListener
Each instance of the class fLine represents a line segment.
-
from
- The starting point of the line in user coordinates.
-
to
- The end point of the line in user coordinates.
-
fLine()
- Creates a line segment with initial and final points undefined.
-
fLine(double, double, double, double)
- Creates a line segment with initial point (x1,y1)
and final point (x2,y2), both in user coordinates.
-
fLine(double[], double[])
- Creates a line segment with initial point from[]
and final point to[], both in user coordinates.
-
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()
-
from
public double from[]
- The starting point of the line in user coordinates.
to
public double to[]
- The end point of the line in user coordinates.
fLine
public fLine()
- Creates a line segment with initial and final points undefined.
fLine
public fLine(double from[],
double to[])
- Creates a line segment with initial point from[]
and final point to[], both in user coordinates.
fLine
public fLine(double x1,
double y1,
double x2,
double y2)
- Creates a line segment with initial point (x1,y1)
and final point (x2,y2), both in user coordinates.
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