|
MVT API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mvt.graphics.GraphicsList
The class GraphicsList
is a container class for
objects of type GraphicsComponent. This class is mainly used
by the Plot2DPanel object to store the GraphicsComponents present
in the panel.
Constructor Summary | |
GraphicsList()
Creates a new GraphicsList object. |
Method Summary | |
void |
addGraphicsObject(GraphicsComponent g)
The method addGraphicsObject adds a graphics
object to the current GraphicsList |
GraphicsComponent |
getGraphicsObject(int i)
The method getGraphicsObject returns a
GraphicsComponent object that is in the i th
location in the GraphicsList |
int |
size()
The method size returns the number of objects
in the current GraphicsList |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GraphicsList()
GraphicsList
object.
Method Detail |
public void addGraphicsObject(GraphicsComponent g)
addGraphicsObject
adds a graphics
object to the current GraphicsList
g
- a GraphicsComponent
objectpublic GraphicsComponent getGraphicsObject(int i)
getGraphicsObject
returns a
GraphicsComponent object that is in the i
th
location in the GraphicsList
i
- an int
value represent the position of
the desired GraphicsComponent object
GraphicsComponent
objectpublic int size()
size
returns the number of objects
in the current GraphicsList
int
value
|
MVT API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |