com.borland.primetime.editor
Class TrackingKeymap.TrackingAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--com.borland.primetime.editor.EditorAction
              |
              +--com.borland.primetime.editor.TrackingKeymap.TrackingAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
Enclosing class:
TrackingKeymap

public static class TrackingKeymap.TrackingAction
extends EditorAction

Helper class that wraps an action/keyStroke combination. Its main function is to keep track of the last action performed in the editor.

See Also:
Serialized Form

Inner classes inherited from class com.borland.primetime.editor.EditorAction
EditorAction.SubKeymapAction
 
Field Summary
protected  javax.swing.Action action
           
protected  javax.swing.KeyStroke key
           
 
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
TrackingKeymap.TrackingAction(javax.swing.Action a, javax.swing.KeyStroke key)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 javax.swing.Action getAction()
           
 
Methods inherited from class com.borland.primetime.editor.EditorAction
getEditorTarget, getFocusedEditor, setFocusedEditor
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

action

protected javax.swing.Action action

key

protected javax.swing.KeyStroke key
Constructor Detail

TrackingKeymap.TrackingAction

public TrackingKeymap.TrackingAction(javax.swing.Action a,
                                     javax.swing.KeyStroke key)
Method Detail

getAction

public javax.swing.Action getAction()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Overrides:
actionPerformed in class javax.swing.AbstractAction