Interface OnOffHardwareLight
- All Superinterfaces:
HardwareElement,HardwareLight,HardwareOutputElement
Defines a simple hardware light that only has an on and off state.
- Since:
- API version 10
-
Method Summary
Modifier and TypeMethodDescriptionisOn()Property that determines if this light is on or not.default voidsetOffColor(Color color) voiddefault voidsetOnColor(Color color) voidvoidDeprecated.voidMethods inherited from interface com.bitwig.extension.controller.api.HardwareElement
getHeight, getId, getLabel, getLabelColor, getLabelPosition, getWidth, getX, getY, setBounds, setLabel, setLabelColor, setLabelPositionMethods inherited from interface com.bitwig.extension.controller.api.HardwareOutputElement
onUpdateHardware
-
Method Details
-
isOn
BooleanHardwareProperty isOn()Property that determines if this light is on or not. -
setOnColor
-
setOffColor
-
setOnVisualState
-
setOffVisualState
-
setStateToVisualStateFuncation
@Deprecated void setStateToVisualStateFuncation(Function<Boolean, HardwareLightVisualState> function) Deprecated.Typo in method name usesetStateToVisualStateFunction(Function)instead -
setStateToVisualStateFunction
-
setStateToVisualStateFunction(Function)instead