guk.editIM
Class HotKey

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--guk.editIM.HotKey
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

class HotKey
extends javax.swing.AbstractAction

Inner class: factory to assign target.doClick() to an Action. Not really used / usefull currently.

See Also:
Serialized Form

Inner classes inherited from class javax.swing.AbstractAction
javax.swing.AbstractAction.ArrayTable
 
Field Summary
(package private)  javax.swing.AbstractButton target
           
 
Fields inherited from class javax.swing.AbstractAction
arrayTable, 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
HotKey(javax.swing.AbstractButton o)
          create a default abstract action and remember the target.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Click the target when anything happens.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getValue, isEnabled, putValue, readObject, removePropertyChangeListener, setEnabled, writeObject
 
Methods inherited from class java.lang.Object
, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

target

javax.swing.AbstractButton target
Constructor Detail

HotKey

public HotKey(javax.swing.AbstractButton o)
create a default abstract action and remember the target.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Click the target when anything happens.
Overrides:
actionPerformed in class javax.swing.AbstractAction