ConForM.CoopnTools.Simulator
Class SimulatorAction
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--ConForM.CoopnTools.Simulator.SimulatorAction
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, GraphicalVisualEditoredMenuItem, java.io.Serializable
- Direct Known Subclasses:
- ClearAction, DetailAction, InitialAction, NextAction, PerformAction, PerformEvAction, VarAction
- public abstract class SimulatorAction
- extends javax.swing.AbstractAction
- implements GraphicalVisualEditoredMenuItem
Generic simulator action.
- 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 |
Methods inherited from class javax.swing.AbstractAction |
actionPerformed, 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 |
ResourceFile
protected static final java.lang.String ResourceFile
tool
protected Simulator tool
editor
protected GraphicalVisualToolEditor editor
env
protected CoopnEnv env
SimulatorAction
public SimulatorAction(Simulator tool,
CoopnEnv env)
label
public java.lang.String label()
mnemonic
public char mnemonic()
icon
public javax.swing.Icon icon()
setEditor
public void setEditor(GraphicalVisualEditor editor)
- Set the associated editor.
- Specified by:
setEditor
in interface GraphicalVisualEditoredMenuItem
- Parameters:
editor
- the associated editor; iff null; reset the editor
actionLabel
protected abstract java.lang.String actionLabel()
actionMnemoLabel
protected abstract java.lang.String actionMnemoLabel()
actionIcon
protected abstract javax.swing.Icon actionIcon()