|
Control Surface API
2.2.2
|

Public Member Functions | |
| SettableRangedValue | value () |
| RangedValue | modulatedValue () |
| StringValue | name () |
| void | addNameObserver (int maxChars, String textWhenUnassigned, StringValueChangedCallback callback) |
| void | addValueDisplayObserver (int maxChars, String textWhenUnassigned, StringValueChangedCallback callback) |
| void | reset () |
| void | touch (boolean isBeingTouched) |
| void | setIndication (boolean shouldIndicate) |
| void | setLabel (String label) |
| void | restoreAutomationControl () |
Public Member Functions inherited from SettableRangedValue | |
| void | set (double value) |
| void | setImmediately (double value) |
| void | set (Number value, Number resolution) |
| void | inc (double increment) |
| void | inc (Number increment, Number resolution) |
| void | setRaw (double value) |
| void | incRaw (double delta) |
Public Member Functions inherited from RangedValue | |
| double | get () |
| double | getRaw () |
| StringValue | displayedValue () |
| void | addValueObserver (int range, IntegerValueChangedCallback callback) |
| void | addRawValueObserver (DoubleValueChangedCallback callback) |
Public Member Functions inherited from Value< DoubleValueChangedCallback > | |
| void | markInterested () |
| void | addValueObserver (ObserverType callback) |
Public Member Functions inherited from ObjectProxy | |
| BooleanValue | exists () |
| BooleanValue | createEqualsValue (ObjectProxy other) |
Public Member Functions inherited from Subscribable | |
| boolean | isSubscribed () |
| void | setIsSubscribed (boolean value) |
| void | subscribe () |
| void | unsubscribe () |
Instances of this interface represent ranged parameters that can be controlled with automation in Bitwig Studio.
Definition at line 11 of file Parameter.java.
| void addNameObserver | ( | int | maxChars, |
| String | textWhenUnassigned, | ||
| StringValueChangedCallback | callback | ||
| ) |
Adds an observer which reports changes to the name of the automated parameter. The callback will get called at least once immediately after calling this method for reporting the current name.
| maxChars | maximum length of the string sent to the observer |
| textWhenUnassigned | the default text to use |
| callback | a callback function that receives a single string parameter |
| void addValueDisplayObserver | ( | int | maxChars, |
| String | textWhenUnassigned, | ||
| StringValueChangedCallback | callback | ||
| ) |
Adds an observer which sends a formatted text representation of the value whenever the value changes. The callback will get called at least once immediately after calling this method for reporting the current state.
| maxChars | maximum length of the string sent to the observer |
| textWhenUnassigned | the default text to use |
| callback | a callback function that receives a single string parameter |
| RangedValue modulatedValue | ( | ) |
Gets the modulated value of this parameter.
| StringValue name | ( | ) |
| void reset | ( | ) |
Resets the value to its default.
| void restoreAutomationControl | ( | ) |
Restores control of this parameter to automation playback.
| void setIndication | ( | boolean | shouldIndicate | ) |
Specifies if this value should be indicated as mapped in Bitwig Studio, which is visually shown as colored dots or tinting on the parameter controls.
| shouldIndicate | true in case visual indications should be shown in Bitwig Studio, false otherwise |
| void setLabel | ( | String | label | ) |
Specifies a label for the mapped hardware parameter as shown in Bitwig Studio, for example in menu items for learning controls.
| label | the label to be shown in Bitwig Studio |
| void touch | ( | boolean | isBeingTouched | ) |
Touch (or un-touch) the value for automation recording.
| isBeingTouched | true for touching, false for un-touching |
| SettableRangedValue value | ( | ) |
Gets the current value of this parameter.