Class RedoCommand

java.lang.Object
gov.nasa.jpl.command.RedoCommand
All Implemented Interfaces:
Command

public class RedoCommand extends Object implements Command
  • Constructor Details

    • RedoCommand

      public RedoCommand()
  • Method Details

    • execute

      public void execute() throws CommandException
      Executes the latest command in the redo stack. Implemented by performing the unExecute method of an UndoCommand.
      Specified by:
      execute in interface Command
      Throws:
      CommandException
    • unExecute

      public void unExecute() throws CommandException
      Does not do anything. This is because redo will never be undone. This is done by using an undo command.
      Specified by:
      unExecute in interface Command
      Throws:
      CommandException