Package ipsk.swing

Class EnumVector<E extends java.lang.Enum<E>>

    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
      • Fields inherited from class java.util.Vector

        capacityIncrement, elementCount, elementData
    • Constructor Summary

      Constructors 
      Constructor Description
      EnumVector​(java.lang.Class<E> c)
      Creates vector of enum section items for JComboBox
      EnumVector​(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 interface java.util.Collection

        parallelStream, stream
      • Methods inherited from interface java.util.List

      • 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 -