Class LXCommand.Snapshots.Recall

java.lang.Object
heronarts.lx.command.LXCommand
heronarts.lx.command.LXCommand.Snapshots.Recall
Enclosing class:
LXCommand.Snapshots

public static class LXCommand.Snapshots.Recall extends LXCommand
  • Constructor Details

  • Method Details

    • perform

      public void perform(LX lx)
      Description copied from class: LXCommand
      Perform the given command
      Specified by:
      perform in class LXCommand
      Parameters:
      lx - LX instance
    • undo

      public void undo(LX lx) throws LXCommand.InvalidCommandException
      Description copied from class: LXCommand
      Undo the command, after it has been performed
      Specified by:
      undo in class LXCommand
      Parameters:
      lx - LX instance
      Throws:
      LXCommand.InvalidCommandException - if the command is invalid
    • isIgnored

      public boolean isIgnored()
      Description copied from class: LXCommand
      May return true if a command should be ignore for the purposes of undo
      Overrides:
      isIgnored in class LXCommand
      Returns:
      Whether to ignore command for purposes of undo
    • getDescription

      public String getDescription()
      Description copied from class: LXCommand
      Short description of a command, to explain it to the user
      Specified by:
      getDescription in class LXCommand
      Returns:
      short description of command