|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rosuda.ibase.toolkit.PlotObject org.rosuda.ibase.toolkit.PlotLine
public class PlotLine
PlotLine is a PlotObject implementing a singe line.
Field Summary |
---|
Fields inherited from class org.rosuda.ibase.toolkit.PlotObject |
---|
CS_ABS, CS_REL, CS_VAR |
Constructor Summary | |
---|---|
PlotLine(PlotManager p)
creates a new line |
Method Summary | |
---|---|
void |
draw(PoGraSS g)
draw the line |
void |
set(double X1,
double Y1,
double X2,
double Y2)
set both points |
void |
set(int X1,
int Y1,
int X2,
int Y2)
set both points |
java.lang.String |
toString()
textual info about the line |
Methods inherited from class org.rosuda.ibase.toolkit.PlotObject |
---|
dispose, gerDrawColor, gerFillColor, getLayer, getXPos, getYPos, isVisible, setClip, setCoordinates, setCoordinates, setDrawColor, setFillColor, setLayer, setVisible, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PlotLine(PlotManager p)
Method Detail |
---|
public void set(int X1, int Y1, int X2, int Y2)
public void set(double X1, double Y1, double X2, double Y2)
public void draw(PoGraSS g)
draw
in class PlotObject
g
- graphics context for paintingpublic java.lang.String toString()
toString
in class PlotObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |