Class PropertyComboBoxModel<E>

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.ComboBoxModel, javax.swing.ListModel, javax.swing.MutableComboBoxModel

    public class PropertyComboBoxModel<E>
    extends javax.swing.DefaultComboBoxModel
    Adapter class for interfacing Selection with Swing's ComboBox.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class javax.swing.AbstractListModel

        listenerList
    • Method Summary

      • Methods inherited from class javax.swing.DefaultComboBoxModel

        addAll, addAll, addElement, getElementAt, getIndexOf, getSelectedItem, getSize, insertElementAt, removeAllElements, removeElement, removeElementAt, setSelectedItem
      • Methods inherited from class javax.swing.AbstractListModel

        addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.swing.ListModel

        addListDataListener, removeListDataListener
    • Constructor Detail

      • PropertyComboBoxModel

        public PropertyComboBoxModel​(MutableProperty<E> selection,
                                     java.lang.Iterable<E> values)
      • PropertyComboBoxModel

        public PropertyComboBoxModel​(MutableProperty<E> selection,
                                     E... values)