gate.gui
Class ListEditorDialog.ResourceComboModel
java.lang.Object
javax.swing.AbstractListModel
gate.gui.ListEditorDialog.ResourceComboModel
- All Implemented Interfaces:
- Serializable, ComboBoxModel, ListModel
- Enclosing class:
- ListEditorDialog
protected class ListEditorDialog.ResourceComboModel
- extends AbstractListModel
- implements ComboBoxModel
A model for a combobox containing the loaded corpora in the system
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListEditorDialog.ResourceComboModel
protected ListEditorDialog.ResourceComboModel()
getSize
public int getSize()
- Specified by:
getSize
in interface ListModel
getElementAt
public Object getElementAt(int index)
- Specified by:
getElementAt
in interface ListModel
setSelectedItem
public void setSelectedItem(Object anItem)
- Specified by:
setSelectedItem
in interface ComboBoxModel
getSelectedItem
public Object getSelectedItem()
- Specified by:
getSelectedItem
in interface ComboBoxModel