Class HardwareLightVisualState

java.lang.Object
com.bitwig.extension.controller.api.HardwareLightVisualState

public class HardwareLightVisualState extends Object
Defines the visual state of a hardware light so that it can be visualized in Bitwig Studio's user interface. This is currently only used when simulating hardware when it is not present for debugging but it may be used for other purposes in the future.
Since:
API version 10
  • Method Details

    • createForColor

      public static HardwareLightVisualState createForColor(Color color)
    • createForColor

      public static HardwareLightVisualState createForColor(Color color, Color labelColor)
    • createBlinking

      public static HardwareLightVisualState createBlinking(Color onColor, Color offColor, double onBlinkTimeInSec, double offBlinkTimeInSec)
    • createBlinking

      public static HardwareLightVisualState createBlinking(Color onColor, Color offColor, Color labelOnColor, Color labelOffColor, double onBlinkTimeInSec, double offBlinkTimeInSec)
    • isBlinking

      public boolean isBlinking()
    • getColor

      public Color getColor()
    • getBlinkOffColor

      public Color getBlinkOffColor()
    • getOffBlinkTime

      public double getOffBlinkTime()
    • getOnBlinkTime

      public double getOnBlinkTime()
    • getLabelColor

      public Color getLabelColor()
    • getLabelBlinkOffColor

      public Color getLabelBlinkOffColor()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object