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

Public Member Functions

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

Represents a physical hardware element that displays some output to the user.

For example, a light, some text etc

Since
API version 10

Member Function Documentation

◆ onUpdateHardware()

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.


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