edu.stanford.smi.protegex.util
Class EditableComboBoxModel
java.lang.Object
javax.swing.AbstractListModel
edu.stanford.smi.protegex.util.EditableComboBoxModel
- All Implemented Interfaces:
- ComboBoxModel, ListModel, Serializable
- public class EditableComboBoxModel
- extends AbstractListModel
- implements ComboBoxModel
Description of the class
- Author:
- William Grosso
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditableComboBoxModel
public EditableComboBoxModel()
EditableComboBoxModel
public EditableComboBoxModel(Collection contents)
add
public void add(Object item)
fireContentsChanged
public void fireContentsChanged()
getElementAt
public Object getElementAt(int index)
- Specified by:
getElementAt
in interface ListModel
getSelectedItem
public Object getSelectedItem()
- Specified by:
getSelectedItem
in interface ComboBoxModel
getSize
public int getSize()
- Specified by:
getSize
in interface ListModel
insertItemAt
public void insertItemAt(int index,
Object item)
setContents
public void setContents(Collection newContents)
setSelectedItem
public void setSelectedItem(Object anItem)
- Specified by:
setSelectedItem
in interface ComboBoxModel
Submit a bug report or feature request