Class StopCommand

java.lang.Object
fr.istic.aco.editor.commands.StopCommand
All Implemented Interfaces:
Command

public class StopCommand extends Object implements Command
The StopCommand class implements the functionality for stopping the recording of commands.
  • Constructor Details

    • StopCommand

      public StopCommand(Recorder recorder)
      Constructs a StopCommand with the specified dependencies.
      Parameters:
      recorder - the command recorder for saving and replaying the command.
  • Method Details

    • execute

      public void execute()
      Executes the stop recording operation.

      This method invokes the Recorder.stop() method to terminate the recording of commands.

      Specified by:
      execute in interface Command