com.raelity.jvi.swing
Class DefaultViFactory.EnqueKeyAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by javax.swing.text.TextAction
          extended by com.raelity.jvi.swing.DefaultViFactory.EnqueKeyAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
DefaultViFactory

public static class DefaultViFactory.EnqueKeyAction
extends TextAction

Catch non-printing keys with this class. The constructor specifies which key. The modifiers are handled by examining the event and added to the key. Recieved characters are placed on the vi input Q.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
DefaultViFactory.EnqueKeyAction(String name, char key)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 
Methods inherited from class javax.swing.text.TextAction
augmentList, getFocusedComponent, getTextComponent
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultViFactory.EnqueKeyAction

public DefaultViFactory.EnqueKeyAction(String name,
                                       char key)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)