gate.gui.docview
Class CorefEditor.NewCorefAction.ListEditor

java.lang.Object
  extended byjava.awt.event.KeyAdapter
      extended bygate.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


Field Summary
(package private)  CorefEditor.NewCorefAction.AddAction action
           
(package private)  JTextField myField
           
(package private)  Vector myList
           
 
Constructor Summary
CorefEditor.NewCorefAction.ListEditor(CorefEditor.NewCorefAction.AddAction action)
           
 
Method Summary
 void addActionListener(ActionListener al)
           
 Component getEditorComponent()
           
 Object getItem()
           
 void keyReleased(KeyEvent ke)
           
 void removeActionListener(ActionListener al)
           
 void requestFocus()
           
 void selectAll()
           
 void setItem(Object item)
           
 
Methods inherited from class java.awt.event.KeyAdapter
keyPressed, keyTyped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myField

JTextField myField

action

CorefEditor.NewCorefAction.AddAction action

myList

Vector myList
Constructor Detail

CorefEditor.NewCorefAction.ListEditor

public CorefEditor.NewCorefAction.ListEditor(CorefEditor.NewCorefAction.AddAction action)
Method Detail

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