Class LXCommand.Snapshots.AddSnapshot

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

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

    • AddSnapshot

      public AddSnapshot()
    • AddSnapshot

      public AddSnapshot(JsonObject snapshotObj, int index)
  • Method Details

    • 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
    • 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)
      Description copied from class: LXCommand
      Undo the command, after it has been performed
      Specified by:
      undo in class LXCommand
      Parameters:
      lx - LX instance