mars.venus
Class RunStepAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--mars.venus.GuiAction
              |
              +--mars.venus.RunStepAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class RunStepAction
extends GuiAction

Action for the Run -> Step menu item

See Also:
Serialized Form

Field Summary
 
Fields inherited from class mars.venus.GuiAction
mainUI
 
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
RunStepAction(java.lang.String name, javax.swing.Icon icon, java.lang.String descrip, java.lang.Integer mnemonic, javax.swing.KeyStroke accel, VenusUI gui)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          perform next simulated instruction step.
 void stepped(boolean done, ProcessingException pe)
           
 
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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunStepAction

public RunStepAction(java.lang.String name,
                     javax.swing.Icon icon,
                     java.lang.String descrip,
                     java.lang.Integer mnemonic,
                     javax.swing.KeyStroke accel,
                     VenusUI gui)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
perform next simulated instruction step.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class GuiAction

stepped

public void stepped(boolean done,
                    ProcessingException pe)