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 $

Variable Index

 o list

Constructor Index

 o DisplayConnectionStore()

Method Index

 o add(DisplayConnection)
 o add(StoreElement)
This Store should work on DisplayConnections instead of StoreElements, but method add(StoreElement) is in the interface this class implements.
 o at(int)
 o displayConnections()
 o elements()
This method is here because it is specified in the interface Store.
 o remove(DisplayConnection)
 o removeAll()
 o removeAt(int)
 o size()
 o toString()

Variables

 o list
 private Vector list

Constructors

 o DisplayConnectionStore
 public DisplayConnectionStore()

Methods

 o add
 public void add(DisplayConnection c)
 o 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.

 o at
 public DisplayConnection at(int index)
 o remove
 public void remove(DisplayConnection c)
 o removeAt
 public void removeAt(int index)
 o removeAll
 public void removeAll()
 o size
 public int size()
 o displayConnections
 public Enumeration displayConnections()
 o 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.

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