|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jwo.utils.JWGraphItem
Skeleton for a graphical object to be added to Graph. Originally based on code from
Constructor Summary | |
JWGraphItem()
Stores a graphable item (bar, line, point etc.). |
|
JWGraphItem(float x,
float y)
Stores a graphable item (bar, line, point etc.). |
|
JWGraphItem(float x,
float y,
Color colour)
Stores a graphable item (bar, line, point etc.). |
Method Summary | |
Color |
getColour()
Reports the colour of the graphics component. |
float |
getXValue()
Reports the X value of the graphics component. |
float |
getYValue()
Reports the Y value of the graphics component. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JWGraphItem()
public JWGraphItem(float x, float y)
x
- X value associated with the compontent.y
- Y value associated with the compontent.public JWGraphItem(float x, float y, Color colour)
x
- X value associated with the compontent.y
- Y value associated with the compontent.colour
- Colour of component.Method Detail |
public float getXValue()
public float getYValue()
public Color getColour()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |