gate.gui.docview
Class CorefEditor.NewCorefAction.ListEditor
java.lang.Object
java.awt.event.KeyAdapter
gate.gui.docview.CorefEditor.NewCorefAction.ListEditor
- All Implemented Interfaces:
- ComboBoxEditor, EventListener, KeyListener
- Enclosing class:
- CorefEditor.NewCorefAction
- private class CorefEditor.NewCorefAction.ListEditor
- extends KeyAdapter
- implements ComboBoxEditor
Custom Editor for the ComboBox to enable key events
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myField
JTextField myField
action
CorefEditor.NewCorefAction.AddAction action
myList
Vector myList
CorefEditor.NewCorefAction.ListEditor
public CorefEditor.NewCorefAction.ListEditor(CorefEditor.NewCorefAction.AddAction action)
addActionListener
public void addActionListener(ActionListener al)
- Specified by:
addActionListener
in interface ComboBoxEditor
removeActionListener
public void removeActionListener(ActionListener al)
- Specified by:
removeActionListener
in interface ComboBoxEditor
getEditorComponent
public Component getEditorComponent()
- Specified by:
getEditorComponent
in interface ComboBoxEditor
getItem
public Object getItem()
- Specified by:
getItem
in interface ComboBoxEditor
selectAll
public void selectAll()
- Specified by:
selectAll
in interface ComboBoxEditor
setItem
public void setItem(Object item)
- Specified by:
setItem
in interface ComboBoxEditor
requestFocus
public void requestFocus()
keyReleased
public void keyReleased(KeyEvent ke)
- Specified by:
keyReleased
in interface KeyListener