|
Bitwig Studio Control Surface API
4.0.1
|
Inheritance diagram for ObjectHardwareProperty< T >:Public Member Functions | |
| T | currentValue () |
| T | lastSentValue () |
| void | onUpdateHardware (Consumer<? extends T > sendValueConsumer) |
| void | setValue (T value) |
| void | setValueSupplier (Supplier<? extends T > supplier) |
Represents an output value shown on some hardware.
Definition at line 12 of file ObjectHardwareProperty.java.
| T currentValue | ( | ) |
Gets the current value. This is the value that should be sent to the hardware to be displayed.
| T lastSentValue | ( | ) |
The value that was last sent to the hardware.
| void onUpdateHardware | ( | Consumer<? extends T > | sendValueConsumer | ) |
Specifies a callback that should be called with the value that needs to be sent to the hardware. This callback is called as a result of calling the HardwareSurface#updateHardware() method (typically from the flush method).
| void setValue | ( | T | value | ) |
Sets the current value.
| void setValueSupplier | ( | Supplier<? extends T > | supplier | ) |
Sets the current value from a BooleanSupplier that supplies the latest value.