de.lmu.ifi.dbs.elki.gui.multistep.panels
Class SavedSettingsTabPanel.SettingsComboboxModel
java.lang.Object
javax.swing.AbstractListModel
de.lmu.ifi.dbs.elki.gui.multistep.panels.SavedSettingsTabPanel.SettingsComboboxModel
- All Implemented Interfaces:
- Serializable, ComboBoxModel, ListModel
- Enclosing class:
- SavedSettingsTabPanel
class SavedSettingsTabPanel.SettingsComboboxModel
- extends AbstractListModel
- implements ComboBoxModel
Class to interface between the saved settings list and a JComboBox
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- Serial version
- See Also:
- Constant Field Values
store
protected SavedSettingsFile store
- Settings storage
selected
protected String selected
- Selected entry
SavedSettingsTabPanel.SettingsComboboxModel
public SavedSettingsTabPanel.SettingsComboboxModel(SavedSettingsFile store)
- Constructor
- Parameters:
store
- Store to access
getSelectedItem
public String getSelectedItem()
- Specified by:
getSelectedItem
in interface ComboBoxModel
setSelectedItem
public void setSelectedItem(Object anItem)
- Specified by:
setSelectedItem
in interface ComboBoxModel
getElementAt
public Object getElementAt(int index)
- Specified by:
getElementAt
in interface ListModel
getSize
public int getSize()
- Specified by:
getSize
in interface ListModel
update
public void update()
- Force an update