Class DataVisualisationStore

java.lang.Object
   |
   +----DataVisualisationStore

class DataVisualisationStore
extends Object
implements Store, Cloneable
This class implements a Store for instances of classes that implement the DataVisualisation interface. This Store uses java.util.Vector. Specific class of meant-to-be-generic class java.util.Vector. This class really should be a subclass of java.util.Vector, but most members of java.util.Vector are final.

Version:
$Revision: 1.1 $

Variable Index

 o list

Constructor Index

 o DataVisualisationStore()

Method Index

 o add(DataVisualisation)
 o add(StoreElement)
This Store should work on DataVisualisations instead of StoreElements, but method add(StoreElement) is in the interface this class implements.
 o append(DataVisualisationStore)
Append the contents of another DataVisualisationStore to this DataVisualisationStore.
 o at(int)
 o dataVisualisations()
 o elements()
This method is here because it is specified in the interface Store.
 o indexOf(DataVisualisation)
 o remove(DataVisualisation)
 o removeAll()
 o removeAt(int)
 o size()
 o toString()

Variables

 o list
 private Vector list

Constructors

 o DataVisualisationStore
 public DataVisualisationStore()

Methods

 o add
 public void add(DataVisualisation v)
 o add
 public void add(StoreElement item)
This Store should work on DataVisualisations instead of StoreElements, but method add(StoreElement) is in the interface this class implements.

 o at
 public DataVisualisation at(int index)
 o indexOf
 public int indexOf(DataVisualisation dataVisualisation)
 o remove
 public void remove(DataVisualisation v)
 o removeAt
 public void removeAt(int index)
 o removeAll
 public void removeAll()
 o size
 public int size()
 o dataVisualisations
 public Enumeration dataVisualisations()
 o elements
 public Enumeration elements()
This method is here because it is specified in the interface Store. Given that this store only works with DataVisualisations, it makes more sense to name this method dataVisualisations(). This method just refers to dataVisualisations() for its result.

 o append
 public void append(DataVisualisationStore other)
Append the contents of another DataVisualisationStore to this DataVisualisationStore.

 o toString
 public String toString()
Overrides:
toString in class Object