public class EnumComboBoxModel<E extends java.lang.Enum<E>>
extends javax.swing.AbstractListModel<E>
implements javax.swing.ComboBoxModel<E>
Constructor and Description |
---|
EnumComboBoxModel(java.lang.Class<E> en) |
Modifier and Type | Method and Description |
---|---|
protected java.util.EnumSet<E> |
createEnumSet(java.lang.Class<E> en) |
E |
getElementAt(int index) |
E |
getSelectedItem() |
int |
getSize() |
void |
setSelectedItem(E item) |
void |
setSelectedItem(java.lang.Object item) |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener