
class MiniGUI.SettingsComboboxModel extends AbstractListModel implements ComboBoxModel
| Modifier and Type | Field and Description |
|---|---|
protected String |
selected
Selected entry
|
private static long |
serialVersionUID
Serial version
|
protected SavedSettingsFile |
store
Settings storage
|
listenerList| Constructor and Description |
|---|
MiniGUI.SettingsComboboxModel(SavedSettingsFile store)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getElementAt(int index) |
String |
getSelectedItem() |
int |
getSize() |
void |
setSelectedItem(Object anItem) |
void |
update()
Force an update
|
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListDataListener, removeListDataListenerprivate static final long serialVersionUID
protected SavedSettingsFile store
protected String selected
public MiniGUI.SettingsComboboxModel(SavedSettingsFile store)
store - Store to accesspublic String getSelectedItem()
getSelectedItem in interface ComboBoxModelpublic void setSelectedItem(Object anItem)
setSelectedItem in interface ComboBoxModelpublic Object getElementAt(int index)
getElementAt in interface ListModelpublic void update()