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