All Packages Class Hierarchy This Package Previous Next Index
Class figPac.fDisk
java.lang.Object
|
+----figPac.fDisk
- public class fDisk
- extends Object
- implements fElement, fInteractive, MouseListener, MouseMotionListener, ItemListener
This class draws an elliptical disk. WARNING: fDisk works only for horizontal x axes and vertical y axes. Otherwise you should use fCurve with the curve pEllipse.
-
a
-
-
b
-
-
BOUNDARY
-
-
defaultFillColor
- The default color used to fill the disk on the screen.
-
defaultPsFillColor
- The default PostScript command used to color in the disk in PostScript when the fEnv variable useColorPs is "true".
-
defaultPsFillGray
- Controls the default density used to fill the disk in postscript.
-
fillColor
- The color used to fill the curve on the screen.
-
FILLED
-
-
psFillColor
- The PostScript command used to color in the disk in PostScript when the fEnv variable useColorPs is "true".
-
psFillGray
- Controls the density used to fill the disk in postscript.
-
type
- The type determines whether the boundary of the disk is plotted whether or
not the disk is filled.
-
x
-
-
y
-
-
fDisk()
-
-
fDisk(double, double, double)
- Creates an circular disk whose center is given by the first two arguments,
whose radius is given by the final argument.
-
fDisk(double, double, double, double)
- Creates an elliptical disk whose center is given by the first two arguments,
whose semiaxes are given by the final two arguments.
-
fDisk(double, double, double, double, long)
- Creates an elliptical disk whose center is given by the first two arguments,
whose semiaxes are given by the next two arguments and whose type is given by last
argument.
-
fDisk(double, double, double, long)
- Creates an circular disk whose center is given by the first two arguments,
whose radius are given by the third argument and whose type is given by last
argument.
-
configure(String, double)
-
-
configure(String, double[])
-
-
configure(String, String)
-
-
drawgfx(Figure, Hashtable, V2V)
-
-
drawps(Figure, Hashtable, V2V)
-
-
endEdit()
-
-
endEditAndDelete()
-
-
itemStateChanged(ItemEvent)
-
-
mouseClicked(MouseEvent)
-
-
mouseDragged(MouseEvent)
-
-
mouseEntered(MouseEvent)
-
-
mouseExited(MouseEvent)
-
-
mouseMoved(MouseEvent)
-
-
mousePressed(MouseEvent)
-
-
mouseReleased(MouseEvent)
-
-
startEdit(figEdit)
-
-
toString()
-
x
public double x
y
public double y
a
public double a
b
public double b
BOUNDARY
public static long BOUNDARY
FILLED
public static long FILLED
type
public long type
- The type determines whether the boundary of the disk is plotted whether or
not the disk is filled. To determine the value of type, start
with type=0. If you wish to plot the boundary add fDisk.BOUNDARY. If you wish to
fill the disk add fDISK.FILLED.
defaultFillColor
public Color defaultFillColor
- The default color used to fill the disk on the screen.
fillColor
public Color fillColor
- The color used to fill the curve on the screen.
defaultPsFillGray
public double defaultPsFillGray
- Controls the default density used to fill the disk in postscript. Black=0, white=1.
psFillGray
public double psFillGray
- Controls the density used to fill the disk in postscript. Black=0, white=1.
defaultPsFillColor
public String defaultPsFillColor
- The default PostScript command used to color in the disk in PostScript when the fEnv variable useColorPs is "true".
psFillColor
public String psFillColor
- The PostScript command used to color in the disk in PostScript when the fEnv variable useColorPs is "true".
fDisk
public fDisk()
fDisk
public fDisk(double x,
double y,
double radius)
- Creates an circular disk whose center is given by the first two arguments,
whose radius is given by the final argument.
- Parameters:
- x - The x coordinate of the center.
- y - The y coordinate of the center.
- r - The radius.
fDisk
public fDisk(double x,
double y,
double a,
double b)
- Creates an elliptical disk whose center is given by the first two arguments,
whose semiaxes are given by the final two arguments.
- Parameters:
- x - The x coordinate of the center.
- y - The y coordinate of the center.
- a - The x semiaxis.
- b - The y semiaxis.
fDisk
public fDisk(double x,
double y,
double radius,
long type)
- Creates an circular disk whose center is given by the first two arguments,
whose radius are given by the third argument and whose type is given by last
argument.
- Parameters:
- x - The x coordinate of the center.
- y - The y coordinate of the center.
- r - The radius.
- type - The type determines whether the boundary of the disk is plotted whether or
not the disk is filled. To determine the value of type, start
with type=0. If you wish to plot the boundary add fDisk.BOUNDARY. If you wish to
fill the disk add fDISK.FILLED.
fDisk
public fDisk(double x,
double y,
double a,
double b,
long type)
- Creates an elliptical disk whose center is given by the first two arguments,
whose semiaxes are given by the next two arguments and whose type is given by last
argument.
- Parameters:
- x - The x coordinate of the center.
- y - The y coordinate of the center.
- a - The x semiaxis.
- b - The y semiaxis.
- type - The type determines whether the boundary of the disk is plotted whether or
not the disk is filled. To determine the value of type, start
with type=0. If you wish to plot the boundary add fDisk.BOUNDARY. If you wish to
fill the disk add fDISK.FILLED.
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)
itemStateChanged
public void itemStateChanged(ItemEvent 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