Class HardwareLightVisualState
java.lang.Object
com.bitwig.extension.controller.api.HardwareLightVisualState
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 Summary
Modifier and TypeMethodDescriptionstatic HardwareLightVisualStatecreateBlinking(Color onColor, Color offColor, double onBlinkTimeInSec, double offBlinkTimeInSec) static HardwareLightVisualStatecreateBlinking(Color onColor, Color offColor, Color labelOnColor, Color labelOffColor, double onBlinkTimeInSec, double offBlinkTimeInSec) static HardwareLightVisualStatecreateForColor(Color color) static HardwareLightVisualStatecreateForColor(Color color, Color labelColor) booleangetColor()doubledoubleinthashCode()boolean
-
Method Details
-
createForColor
-
createForColor
-
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
-
getBlinkOffColor
-
getOffBlinkTime
public double getOffBlinkTime() -
getOnBlinkTime
public double getOnBlinkTime() -
getLabelColor
-
getLabelBlinkOffColor
-
hashCode
public int hashCode() -
equals
-