gov.nih.nlm.mms
Class RedoAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bygov.nih.nlm.mms.RedoAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable

public class RedoAction
extends AbstractAction

Re-performs an undone action. Used for the Edit->Redo menu of MetamorphoSysGUI.

Author:
Brian Carlsen, Deborah Shapiro
See Also:
Serialized Form

Field Summary
 
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
RedoAction(MetamorphoSysGUI gui)
          Instantiates a RedoAction.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Pops an item off of the redo stack, makes the necessary changes, and pushes an item onto the undo stack.
 
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

RedoAction

public RedoAction(MetamorphoSysGUI gui)
Instantiates a RedoAction.

Parameters:
gui - the MetamorphoSysGUI
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Pops an item off of the redo stack, makes the necessary changes, and pushes an item onto the undo stack.

Parameters:
e - an ActionEvent


Copyright ©2005