Class StartCommand

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

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

    • StartCommand

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

    • execute

      public void execute()
      Executes the start recording operation.

      This method invokes the Recorder.start() method to initiate the recording of commands.

      Specified by:
      execute in interface Command