Class DisplayConnectionStore
java.lang.Object
|
+----DisplayConnectionStore
- class DisplayConnectionStore
- extends Object
- implements Store
This class implements a Store for DisplayConnections using
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
-
-
DisplayConnectionStore()
-
-
add(DisplayConnection)
-
-
add(StoreElement)
- This Store should work on DisplayConnections instead of StoreElements,
but method add(StoreElement) is in the interface this class
implements.
-
at(int)
-
-
displayConnections()
-
-
elements()
- This method is here because it is specified in the interface Store.
-
remove(DisplayConnection)
-
-
removeAll()
-
-
removeAt(int)
-
-
size()
-
-
toString()
-
list
private Vector list
DisplayConnectionStore
public DisplayConnectionStore()
add
public void add(DisplayConnection c)
add
public void add(StoreElement item)
- This Store should work on DisplayConnections instead of StoreElements,
but method add(StoreElement) is in the interface this class
implements.
at
public DisplayConnection at(int index)
remove
public void remove(DisplayConnection c)
removeAt
public void removeAt(int index)
removeAll
public void removeAll()
size
public int size()
displayConnections
public Enumeration displayConnections()
elements
public Enumeration elements()
- This method is here because it is specified in the interface Store.
Given that this store only works with DisplayConnections, it makes
more sense to name this method DisplayConnections(). This method just
refers to DisplayConnections() for its result.
toString
public String toString()
- Overrides:
- toString in class Object