Class LXCommand.Clip.Add

java.lang.Object
heronarts.lx.command.LXCommand
heronarts.lx.command.LXCommand.Clip.Add
Enclosing class:
LXCommand.Clip

public static class LXCommand.Clip.Add extends LXCommand
  • Constructor Details

    • Add

      public Add(LXBus bus, int index)
    • Add

      public Add(LXBus bus, int index, JsonObject clipObj)
  • 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