Bitwig Studio Control Surface API
5.0.11
|
Public Member Functions | |
void | onUpdateHardware (Runnable sendStateRunnable) |
![]() | |
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 () |
Represents a physical hardware element that displays some output to the user.
For example, a light, some text etc
void onUpdateHardware | ( | Runnable | sendStateRunnable | ) |
Sets an optional callback for this element whenever it's state needs to be sent to the hardware. This will be called when calling HardwareSurface#updateHardware() if the state needs to be sent.