Class MutableParameter

java.lang.Object
heronarts.lx.parameter.LXListenableParameter
heronarts.lx.parameter.MutableParameter
All Implemented Interfaces:
LXPath, LXParameter
Direct Known Subclasses:
LXClipEngine.FocusedClipParameter

public class MutableParameter extends LXListenableParameter
A MutableParameter is a parameter that has a value which can be changed to anything.
  • Constructor Details

    • MutableParameter

      public MutableParameter()
    • MutableParameter

      public MutableParameter(String label)
    • MutableParameter

      public MutableParameter(String label, double value)
    • MutableParameter

      public MutableParameter(double value)
  • Method Details

    • increment

      public MutableParameter increment()
    • decrement

      public MutableParameter decrement()
    • updateValue

      protected double updateValue(double value)
      Description copied from class: LXListenableParameter
      Invoked when the value has changed. Subclasses should update any special internal state according to this new value.
      Specified by:
      updateValue in class LXListenableParameter
      Parameters:
      value - New value
      Returns:
      this
    • getValuei

      public int getValuei()