|
|||||||||
| Home >> All >> [ jplot overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
jplot
Class PlotPoint

java.lang.Objectjplot.PlotPoint
- public class PlotPoint
- extends java.lang.Object
The PlotPoint defines a plot point in terms
of it's X- and Y value. Also sets the lift-pen attribute,
which, if true, will lift the pen after having plot this point.
| Field Summary | |
protected boolean |
lift
|
protected double |
x
|
protected double |
y
|
| Constructor Summary | |
PlotPoint(double x,
double y)
Default constructor, initializes the class x- and y values. |
|
PlotPoint(double x,
double y,
boolean liftNow)
Initializes the class x- and y values and sets the lift attribute. |
|
PlotPoint(PlotPoint pp)
Another constructor, initializes the class x- and y values. |
|
| Method Summary | |
PlotPoint |
getPoint()
returns x- and y values. |
double |
getX()
Return the current X-value. |
double |
getY()
Return the current Y-value. |
boolean |
liftPen()
|
void |
setLiftPen(boolean b)
Sets whether or not the drawing pen should be lifted after this point. |
void |
setPoint(double x,
double y)
Sets x- and y values. |
void |
setPoint(PlotPoint pp)
Sets x- and y values. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
x
protected double x
y
protected double y
lift
protected boolean lift
| Constructor Detail |
PlotPoint
public PlotPoint(double x,
double y)
- Default constructor, initializes the class x- and y values.
PlotPoint
public PlotPoint(double x,
double y,
boolean liftNow)
- Initializes the class x- and y values and sets the lift attribute.
PlotPoint
public PlotPoint(PlotPoint pp)
- Another constructor, initializes the class x- and y values.
| Method Detail |
setPoint
public void setPoint(double x,
double y)
- Sets x- and y values.
setPoint
public void setPoint(PlotPoint pp)
- Sets x- and y values.
getPoint
public PlotPoint getPoint()
- returns x- and y values.
getX
public double getX()
- Return the current X-value.
getY
public double getY()
- Return the current Y-value.
setLiftPen
public void setLiftPen(boolean b)
- Sets whether or not the drawing pen should be lifted after this point.
liftPen
public boolean liftPen()
|
|||||||||
| Home >> All >> [ jplot overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
jplot.PlotPoint