ponderToolkit.editor
Class EditorAction
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--ponderToolkit.editor.EditorAction
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
- Direct Known Subclasses:
- AnalyseAction, CompileAction, ParseAction, RetrievePolicyAction
- public abstract class EditorAction
- extends javax.swing.AbstractAction
Function: Base class for all menu items. It provides the requirements
of functionality that a menu item should support. That is,
to which events it should respond
- See Also:
- Serialized Form
| 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 |
|
Method Summary |
abstract void |
actionPerformed(java.awt.event.ActionEvent event)
Action Listener |
java.lang.String |
getIdString()
Return the ID (a string) of this action |
javax.swing.KeyStroke |
getKeyStroke()
Get the keystroke associated with this action |
| 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 |
EditorAction
protected EditorAction(java.lang.String newIdString,
ResourceStringMan strManager)
- Constructor
getIdString
public java.lang.String getIdString()
- Return the ID (a string) of this action
getKeyStroke
public javax.swing.KeyStroke getKeyStroke()
- Get the keystroke associated with this action
actionPerformed
public abstract void actionPerformed(java.awt.event.ActionEvent event)
- Action Listener
- Overrides:
actionPerformed in class javax.swing.AbstractAction