Interface SoloValue
- All Superinterfaces:
BooleanSupplier,BooleanValue,HardwareActionBindable,HardwareBindable,SettableBooleanValue,Subscribable,Value<BooleanValueChangedCallback>
Instances of this interface represent the state of a solo button.
- Since:
- API version 1
-
Method Summary
Modifier and TypeMethodDescriptionvoidtoggle(boolean exclusive) Toggles the current solo state.voidtoggleUsingPreferences(boolean negatePreferences) Toggles the current solo state, using the exclusive setting from the user preferences.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.SettableBooleanValue
set, setToFalseAction, setToTrueAction, toggle, toggleActionMethods 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
-
toggle
void toggle(boolean exclusive) Toggles the current solo state.- Parameters:
exclusive- specifies if solo on other channels should be disabled automatically ('true') or not ('false').- Since:
- API version 1
-
toggleUsingPreferences
void toggleUsingPreferences(boolean negatePreferences) Toggles the current solo state, using the exclusive setting from the user preferences.- Parameters:
negatePreferences- If false, then toggles the solo using the exclusive behavior specified in the user preferences, ortherwise negate the preference setting.- Since:
- API version 18
-