nl.tudelft.simulation.dsol.gui.actions
Class PauseAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by nl.tudelft.simulation.dsol.gui.actions.SimulatorAction
          extended by nl.tudelft.simulation.dsol.gui.actions.PauseAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action, EventListenerInterface

public class PauseAction
extends SimulatorAction

The SmoothWorker
(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:
Niels Lang , Peter Jacobs
See Also:
Serialized Form

Field Summary
 
Fields inherited from class nl.tudelft.simulation.dsol.gui.actions.SimulatorAction
application, simulator
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
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
 
Constructor Summary
PauseAction(DSOLApplicationInterface application)
          The pauseAction schedules a pause
 
Method Summary
 void actionPerformed(ActionEvent evt)
           
protected  void notifyStopped()
          notifyPaused
 
Methods inherited from class nl.tudelft.simulation.dsol.gui.actions.SimulatorAction
finalize, notify, setSimulator
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PauseAction

public PauseAction(DSOLApplicationInterface application)
The pauseAction schedules a pause

Parameters:
application - the application
Method Detail

notifyStopped

protected void notifyStopped()
notifyPaused


actionPerformed

public void actionPerformed(ActionEvent evt)
See Also:
#actionPerformed(java.awt.event.ActionEvent)


Copyright © 2002-2010 Delft University of Technology, the Netherlands. All Rights Reserved.