gov.nih.nlm.mms
Class UndoAction
java.lang.Object
javax.swing.AbstractAction
gov.nih.nlm.mms.UndoAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public class UndoAction
- extends AbstractAction
Unperforms an action. Used for the Edit->Undo Menu of
MetamorphoSysGUI.
- Author:
- Brian Carlsen, Deborah Shapiro
- See Also:
- Serialized Form
|
Method Summary |
void |
actionPerformed(ActionEvent e)
Pops an item off of the undo stack, makes the necessary changes, and pushes
an item onto the redo stack. |
UndoAction
public UndoAction(MetamorphoSysGUI gui)
- Instantiates an
UndoAction.
- Parameters:
gui - the MetamorphoSysGUI
actionPerformed
public void actionPerformed(ActionEvent e)
- Pops an item off of the undo stack, makes the necessary changes, and pushes
an item onto the redo stack.
- Parameters:
e - an ActionEvent
Copyright ©2005