Package ipsk.swing
Class EnumVector<E extends java.lang.Enum<E>>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.Vector<EnumSelectionItem<E>>
-
- ipsk.swing.EnumVector<E>
-
- Type Parameters:
E
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<EnumSelectionItem<E>>
,java.util.Collection<EnumSelectionItem<E>>
,java.util.List<EnumSelectionItem<E>>
,java.util.RandomAccess
public class EnumVector<E extends java.lang.Enum<E>> extends java.util.Vector<EnumSelectionItem<E>>
- Author:
- klausj
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EnumVector(java.lang.Class<E> c)
Creates vector of enum section items for JComboBoxEnumVector(java.lang.Class<E> c, java.lang.String nullValueString)
Creates vector of enum section items for JComboBox with additional default null value
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnumSelectionItem<E>
getItem(java.lang.Enum<E> enumVal)
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
-
-
-
-
Constructor Detail
-
EnumVector
public EnumVector(java.lang.Class<E> c)
Creates vector of enum section items for JComboBox- Parameters:
c
-
-
EnumVector
public EnumVector(java.lang.Class<E> c, java.lang.String nullValueString)
Creates vector of enum section items for JComboBox with additional default null value- Parameters:
c
-nullValueString
-
-
-
Method Detail
-
getItem
public EnumSelectionItem<E> getItem(java.lang.Enum<E> enumVal)
-
-