class MiniGUI.SettingsComboboxModel
extends javax.swing.AbstractListModel<java.lang.String>
implements javax.swing.ComboBoxModel<java.lang.String>
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
selected
Selected entry.
|
private static long |
serialVersionUID
Serial version.
|
protected SavedSettingsFile |
store
Settings storage.
|
Constructor and Description |
---|
SettingsComboboxModel(SavedSettingsFile store)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getElementAt(int index) |
java.lang.String |
getSelectedItem() |
int |
getSize() |
void |
setSelectedItem(java.lang.Object anItem) |
void |
update()
Force an update.
|
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
private static final long serialVersionUID
protected SavedSettingsFile store
protected java.lang.String selected
public SettingsComboboxModel(SavedSettingsFile store)
store
- Store to accesspublic java.lang.String getSelectedItem()
getSelectedItem
in interface javax.swing.ComboBoxModel<java.lang.String>
public void setSelectedItem(java.lang.Object anItem)
setSelectedItem
in interface javax.swing.ComboBoxModel<java.lang.String>
public java.lang.String getElementAt(int index)
getElementAt
in interface javax.swing.ListModel<java.lang.String>
public int getSize()
getSize
in interface javax.swing.ListModel<java.lang.String>
public void update()
Copyright © 2019 ELKI Development Team. License information.