Class SingleSelectionComboBoxModel<E>

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

    public class SingleSelectionComboBoxModel<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

      • SingleSelectionComboBoxModel

        public SingleSelectionComboBoxModel​(MutableSingleSelection<E> selection,
                                            java.lang.Iterable<E> values)
      • SingleSelectionComboBoxModel

        public SingleSelectionComboBoxModel​(MutableSingleSelection<E> selection,
                                            E... values)
      • SingleSelectionComboBoxModel

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

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