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 $
-
list
-
-
DataVisualisationStore()
-
-
add(DataVisualisation)
-
-
add(StoreElement)
- This Store should work on DataVisualisations instead of StoreElements,
but method add(StoreElement) is in the interface this class
implements.
-
append(DataVisualisationStore)
- Append the contents of another DataVisualisationStore to this
DataVisualisationStore.
-
at(int)
-
-
dataVisualisations()
-
-
elements()
- This method is here because it is specified in the interface
Store.
-
indexOf(DataVisualisation)
-
-
remove(DataVisualisation)
-
-
removeAll()
-
-
removeAt(int)
-
-
size()
-
-
toString()
-
list
private Vector list
DataVisualisationStore
public DataVisualisationStore()
add
public void add(DataVisualisation v)
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.
at
public DataVisualisation at(int index)
indexOf
public int indexOf(DataVisualisation dataVisualisation)
remove
public void remove(DataVisualisation v)
removeAt
public void removeAt(int index)
removeAll
public void removeAll()
size
public int size()
dataVisualisations
public Enumeration dataVisualisations()
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.
append
public void append(DataVisualisationStore other)
- Append the contents of another DataVisualisationStore to this
DataVisualisationStore.
toString
public String toString()
- Overrides:
- toString in class Object