cz.vity.freerapid.swing.models
Class SimplePreferencesComboModel
java.lang.Object
javax.swing.AbstractListModel
javax.swing.DefaultComboBoxModel
cz.vity.freerapid.swing.models.SimplePreferencesComboModel
- All Implemented Interfaces:
- Serializable, ComboBoxModel, ListModel, MutableComboBoxModel
public final class SimplePreferencesComboModel
- extends DefaultComboBoxModel
- Author:
- Vity
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimplePreferencesComboModel
public SimplePreferencesComboModel(String propertyKey,
boolean autosave)
SimplePreferencesComboModel
public SimplePreferencesComboModel(int maxRecentPhrasesCount,
String keyProperties,
boolean autosave)
setSelectedItem
public void setSelectedItem(Object anObject)
- Specified by:
setSelectedItem
in interface ComboBoxModel
- Overrides:
setSelectedItem
in class DefaultComboBoxModel
addElement
public final void addElement(Object anObject)
- Specified by:
addElement
in interface MutableComboBoxModel
- Overrides:
addElement
in class DefaultComboBoxModel
getList
public final Collection<String> getList()
removeAllProperties
public void removeAllProperties()
store
public void store()