Interface HardwareOutputElement
- All Superinterfaces:
HardwareElement
- All Known Subinterfaces:
HardwareLight,HardwarePixelDisplay,HardwareTextDisplay,MultiStateHardwareLight,OnOffHardwareLight
Represents a physical hardware element that displays some output to the user.
For example, a light, some text etc
- Since:
- API version 10
-
Method Summary
Modifier and TypeMethodDescriptionvoidonUpdateHardware(Runnable sendStateRunnable) Sets an optional callback for this element whenever it's state needs to be sent to the hardware.Methods inherited from interface com.bitwig.extension.controller.api.HardwareElement
getHeight, getId, getLabel, getLabelColor, getLabelPosition, getWidth, getX, getY, setBounds, setLabel, setLabelColor, setLabelPosition
-
Method Details
-
onUpdateHardware
Sets an optional callback for this element whenever it's state needs to be sent to the hardware. This will be called when callingHardwareSurface.updateHardware()if the state needs to be sent.
-