Class LXCommand.Parameter.SetValue

java.lang.Object
heronarts.lx.command.LXCommand
heronarts.lx.command.LXCommand.Parameter.SetValue
Direct Known Subclasses:
LXCommand.Parameter.SetIndex
Enclosing class:
LXCommand.Parameter

public static class LXCommand.Parameter.SetValue extends LXCommand
  • Constructor Details

  • Method Details

    • getParameter

      public LXParameter getParameter()
    • updateDiscrete

      public LXCommand.Parameter.SetValue updateDiscrete(int value)
    • update

      public LXCommand.Parameter.SetValue update(double value)
    • 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