All Packages Class Hierarchy This Package Previous Next Index
Class figPac.fArrow
java.lang.Object
|
+----figPac.fArrow
- public class fArrow
- extends Object
- implements fElement, fInteractive, MouseListener, MouseMotionListener
Each instance of the class fArrow represents an arrow.
-
arrowHeadColor
- The color used to fill the arrowhead on the screen.
-
arrowHeadGray
- Controls the density used to fill the arrowhead in postscript.
-
defaultHeadColor
- The default color used to fill the arrowhead on the screen.
-
defaultHeadGray
- Controls the default density used to fill the arrowhead in postscript.
-
defaultHeadHalfWidth
- The default value of the half-width of the arrow head in points.
-
defaultHeadLength
- The default value of the length of the arrow head in points.
-
from
- The starting point of the arrow in user coordinates.
-
headHalfWidth
- The half-width of the arrow head in points.
-
headLength
- The length of the arrow head in points.
-
to
- The end point of the arrow in user coordinates.
-
fArrow()
-
-
fArrow(double, double, double, double)
- Creates an arrow with initial point (x1,y1)
and final point (x2,y2), both in user coordinates.
-
fArrow(double[], double[])
- Creates an arrow 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 arrow in user coordinates.
to
public double to[]
- The end point of the arrow in user coordinates.
headHalfWidth
public double headHalfWidth
- The half-width of the arrow head in points.
defaultHeadHalfWidth
public double defaultHeadHalfWidth
- The default value of the half-width of the arrow head in points.
headLength
public double headLength
- The length of the arrow head in points.
defaultHeadLength
public double defaultHeadLength
- The default value of the length of the arrow head in points.
defaultHeadColor
public Color defaultHeadColor
- The default color used to fill the arrowhead on the screen.
arrowHeadColor
public Color arrowHeadColor
- The color used to fill the arrowhead on the screen.
defaultHeadGray
public double defaultHeadGray
- Controls the default density used to fill the arrowhead in postscript. Black=0, white=1.
arrowHeadGray
public double arrowHeadGray
- Controls the density used to fill the arrowhead in postscript. Black=0, white=1.
fArrow
public fArrow()
fArrow
public fArrow(double from[],
double to[])
- Creates an arrow with initial point from[]
and final point to[], both in user coordinates.
fArrow
public fArrow(double x1,
double y1,
double x2,
double y2)
- Creates an arrow 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