nl.tudelft.simulation.dsol.gui.actions
Class SimulatorAction
java.lang.Object
javax.swing.AbstractAction
nl.tudelft.simulation.dsol.gui.actions.SimulatorAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action, EventListenerInterface
- Direct Known Subclasses:
- FastForwardAction, PauseAction, ResetAction, StartAction, StepAction, StopAction
public abstract class SimulatorAction
- extends AbstractAction
- implements EventListenerInterface
The basic simulatorAction
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
- Version:
- $Revision: 1.1 $ $Date: 2007/01/06 13:23:35 $
- Author:
- Peter Jacobs
- See Also:
- Serialized Form
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
simulator
protected SimulatorInterface simulator
- the simulator
application
protected DSOLApplicationInterface application
- the application
SimulatorAction
public SimulatorAction(String name,
DSOLApplicationInterface application)
- constructs a new DEVSSimulatorAction
- Parameters:
name
- the name of the actionapplication
- the application
finalize
protected void finalize()
throws Throwable
- Overrides:
finalize
in class Object
- Throws:
Throwable
- See Also:
Object.finalize()
setSimulator
protected void setSimulator(SimulatorInterface simulator)
- sets the simulator
- Parameters:
simulator
- the simulator
notify
public void notify(EventInterface event)
- Specified by:
notify
in interface EventListenerInterface
- See Also:
#notify(nl.tudelft.simulation.event.EventInterface)
Copyright © 2002-2010 Delft University of Technology, the Netherlands. All Rights Reserved.