Bitwig Studio Control Surface API  5.0.11
OnOffHardwareLight Interface Reference
+ Inheritance diagram for OnOffHardwareLight:

Public Member Functions

BooleanHardwareProperty isOn ()
 
default void setOnColor (final Color color)
 
default void setOffColor (final Color color)
 
void setOnVisualState (HardwareLightVisualState state)
 
void setOffVisualState (HardwareLightVisualState state)
 
void setStateToVisualStateFuncation (Function< Boolean, HardwareLightVisualState > function)
 
void setStateToVisualStateFunction (Function< Boolean, HardwareLightVisualState > function)
 
- Public Member Functions inherited from HardwareOutputElement
void onUpdateHardware (Runnable sendStateRunnable)
 
- Public Member Functions inherited from HardwareElement
String getId ()
 
String getLabel ()
 
void setLabel (String label)
 
Color getLabelColor ()
 
void setLabelColor (Color color)
 
RelativePosition getLabelPosition ()
 
void setLabelPosition (RelativePosition position)
 
void setBounds (double xInMM, double yInMM, double widthInMM, double heightInMM)
 
double getX ()
 
double getY ()
 
double getWidth ()
 
double getHeight ()
 

Detailed Description

Defines a simple hardware light that only has an on and off state.

Since
API version 10

Member Function Documentation

◆ isOn()

Property that determines if this light is on or not.

◆ setStateToVisualStateFuncation()

void setStateToVisualStateFuncation ( Function< Boolean, HardwareLightVisualState function)
Deprecated:
Typo in method name use setStateToVisualStateFunction(Function) instead

The documentation for this interface was generated from the following file: