IBM Branch Transformation Toolkit Javadoc

com.ibm.dse.gui
Class VectorEditor

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.Vector
              extended bycom.ibm.dse.gui.VectorEditor
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable

public class VectorEditor
extends java.util.Vector
implements java.lang.Cloneable, java.io.Serializable

The VectorEditor class is used by the SpColorEditor and DataNameEditorTable to encapsulate the colors and column formmaters.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
VectorEditor()
          This constructor creates a VectorEditor object.
VectorEditor(int initialCapacity)
          This constructor creates a VectorEditor object.
VectorEditor(int initialCapacity, int capacityIncrement)
          This constructor creates a VectorEditor object.
VectorEditor(int cap, java.lang.Object initialValue)
          This constructor creates a VectorEditor object.
 
Method Summary
 VectorEditor setElemAt(java.lang.Object ob, int pos)
          Adds an element and retuns the same vector.
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

VectorEditor

public VectorEditor()
This constructor creates a VectorEditor object.


VectorEditor

public VectorEditor(int initialCapacity)
This constructor creates a VectorEditor object.

Parameters:
initialCapacity - int

VectorEditor

public VectorEditor(int initialCapacity,
                    int capacityIncrement)
This constructor creates a VectorEditor object.

Parameters:
initialCapacity - int
capacityIncrement - int

VectorEditor

public VectorEditor(int cap,
                    java.lang.Object initialValue)
This constructor creates a VectorEditor object.

Parameters:
cap - int
initialValue - java.lang.Object
Method Detail

setElemAt

public VectorEditor setElemAt(java.lang.Object ob,
                              int pos)
Adds an element and retuns the same vector.

Parameters:
ob - java.lang.Object, Object to add
pos - int, Position inside vector
Returns:
com.ibm.dse.gui.VectorEditor - This vector.

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005