Package com.macrofocus.selection.swing
Class SingleSelectionComboBoxModel<E>
- java.lang.Object
-
- javax.swing.AbstractListModel<E>
-
- javax.swing.DefaultComboBoxModel
-
- com.macrofocus.selection.swing.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
-
-
Constructor Summary
Constructors Constructor Description SingleSelectionComboBoxModel(MutableProperty<E> selection, E... values)
SingleSelectionComboBoxModel(MutableProperty<E> selection, java.lang.Iterable<E> values)
SingleSelectionComboBoxModel(MutableSingleSelection<E> selection, E... values)
SingleSelectionComboBoxModel(MutableSingleSelection<E> selection, java.lang.Iterable<E> values)
-
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
-
-
-
-
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)
-
-