Class EditUndoAction

All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class EditUndoAction
extends GraffitiAction
Special class for undo capabilities.
Version:
$Revision: 1.10 $
See Also:
Serialized Form
  • Constructor Details

    • EditUndoAction

      public EditUndoAction​(MainFrame mainFrame)
      Creates a new EditUndoAction object.
      Parameters:
      mainFrame - DOCUMENT ME!
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Description copied from class: GraffitiAction
      Returns true, if this action is enabled.
      Specified by:
      isEnabled in interface Action
      Specified by:
      isEnabled in class GraffitiAction
      Returns:
      true, if this action is enabled.
    • getHelpContext

      public HelpContext getHelpContext()
      Description copied from class: GraffitiAction
      Returns the help context for this action.
      Overrides:
      getHelpContext in class GraffitiAction
      Returns:
      the help context for this action.
    • actionPerformed

      public void actionPerformed​(ActionEvent e)
      Implementation Note: The status of the GUIComponents has to be updated after actionPerformed was executed.
      Parameters:
      e - DOCUMENT ME!
    • update

      public void update()
      Updates the state of this action.
      Overrides:
      update in class GraffitiAction