Interface SettableBooleanValue
- All Superinterfaces:
BooleanSupplier,BooleanValue,HardwareActionBindable,HardwareBindable,Subscribable,Value<BooleanValueChangedCallback>
- All Known Subinterfaces:
SoloValue
Instances of this interface represent boolean values.
- Since:
- API version 1
-
Method Summary
Methods inherited from interface com.bitwig.extension.controller.api.BooleanValue
get, getAsBooleanMethods inherited from interface com.bitwig.extension.controller.api.HardwareActionBindable
addBinding, invokeMethods inherited from interface com.bitwig.extension.controller.api.Subscribable
isSubscribed, setIsSubscribed, subscribe, unsubscribeMethods inherited from interface com.bitwig.extension.controller.api.Value
addValueObserver, markInterested
-
Method Details
-
set
void set(boolean value) Sets the internal value.- Parameters:
value- the new boolean value.- Since:
- API version 1
-
toggle
void toggle()Toggles the current state. In case the current value is `false`, the new value will be `true` and the other way round.- Since:
- API version 1
-
toggleAction
HardwareActionBindable toggleAction() -
setToTrueAction
HardwareActionBindable setToTrueAction() -
setToFalseAction
HardwareActionBindable setToFalseAction()
-