org.wings
Class SDefaultComboBoxModel
java.lang.Object
javax.swing.AbstractListModel
org.wings.SDefaultListModel
org.wings.SDefaultComboBoxModel
- All Implemented Interfaces:
- Serializable, ComboBoxModel, ListModel, MutableComboBoxModel
public class SDefaultComboBoxModel
- extends SDefaultListModel
- implements MutableComboBoxModel
Default implementation of a model for SComboBox components.
- Author:
- Armin Haaf
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
selectedItem
protected Object selectedItem
SDefaultComboBoxModel
public SDefaultComboBoxModel(List d)
SDefaultComboBoxModel
public SDefaultComboBoxModel(Object[] d)
SDefaultComboBoxModel
public SDefaultComboBoxModel()
setSelectedItem
public void setSelectedItem(Object anItem)
- Specified by:
setSelectedItem in interface ComboBoxModel
getSelectedItem
public Object getSelectedItem()
- Specified by:
getSelectedItem in interface ComboBoxModel
addElement
public void addElement(Object obj)
- Specified by:
addElement in interface MutableComboBoxModel- Overrides:
addElement in class SDefaultListModel
removeElement
public void removeElement(Object obj)
- Specified by:
removeElement in interface MutableComboBoxModel
insertElementAt
public void insertElementAt(Object obj,
int index)
- Specified by:
insertElementAt in interface MutableComboBoxModel
removeElementAt
public void removeElementAt(int index)
- Specified by:
removeElementAt in interface MutableComboBoxModel
wingS Swings ;-)