MVT API

mvt.graphics
Class GraphicsList

java.lang.Object
  |
  +--mvt.graphics.GraphicsList

public class GraphicsList
extends java.lang.Object

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.

Since:
JDK1.2
Version:
1.1
Author:
Peter Staab
, for the Mathematical Visualization Project for the Department of Applied Mathematics, University of Colorado at Boulder

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 ith 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

GraphicsList

public GraphicsList()
Creates a new GraphicsList object.

Method Detail

addGraphicsObject

public void addGraphicsObject(GraphicsComponent g)
The method addGraphicsObject adds a graphics object to the current GraphicsList

Parameters:
g - a GraphicsComponent object

getGraphicsObject

public GraphicsComponent getGraphicsObject(int i)
The method getGraphicsObject returns a GraphicsComponent object that is in the ith location in the GraphicsList

Parameters:
i - an int value represent the position of the desired GraphicsComponent object
Returns:
a GraphicsComponent object

size

public int size()
The method size returns the number of objects in the current GraphicsList

Returns:
an int value

MVT API

mvt.icons