Control Surface API  1.1.11
AutomatableRangedValue Interface Reference
Inheritance diagram for AutomatableRangedValue:

Public Member Functions

void addNameObserver (int maxChars, String textWhenUnassigned, Callable callback)
void addValueDisplayObserver (int maxChars, String textWhenUnassigned, Callable callback)
void reset ()
void touch (boolean isBeingTouched)
void setIndication (boolean shouldIndicate)
void setLabel (String label)
void restoreAutomationControl ()

Detailed Description

Instances of this interface represent ranged parameters that can be controlled with automation in Bitwig Studio.

Since:
Bitwig Studio 1.0

Definition at line 10 of file AutomatableRangedValue.java.


Member Function Documentation

void addNameObserver ( int  maxChars,
String  textWhenUnassigned,
Callable  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.

Parameters:
maxCharsmaximum length of the string sent to the observer
textWhenUnassignedthe default text to use
callbacka callback function that receives a single string parameter
Since:
Bitwig Studio 1.0
void addValueDisplayObserver ( int  maxChars,
String  textWhenUnassigned,
Callable  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.

Parameters:
maxCharsmaximum length of the string sent to the observer
textWhenUnassignedthe default text to use
callbacka callback function that receives a single string parameter
Since:
Bitwig Studio 1.0
void reset ( )

Resets the value to its default.

Since:
Bitwig Studio 1.0

Restores control of this parameter to automation playback.

Since:
1.1
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.

Parameters:
shouldIndicate`true` in case visual indications should be shown in Bitwig Studio, `false` otherwise
Since:
Bitwig Studio 1.0
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.

Parameters:
labelthe label to be shown in Bitwig Studio
Since:
Bitwig Studio 1.0
void touch ( boolean  isBeingTouched)

Touch (or un-touch) the value for automation recording.

Parameters:
isBeingTouched`true` for touching, `false` for un-touching
Since:
Bitwig Studio 1.0

List of all members.


The documentation for this interface was generated from the following file:
 All Classes Functions Variables