Control Surface API  1.1.11
ModulationSource Interface Reference

Public Member Functions

void addIsMappingObserver (Callable callback)
void toggleIsMapping ()
void addNameObserver (int numChars, String textWhenUnassigned, Callable callback)

Detailed Description

This interface represents a modulation source in Bitwig Studio.

Since:
Bitwig Studio 1.0

Definition at line 10 of file ModulationSource.java.


Member Function Documentation

void addIsMappingObserver ( Callable  callback)

Registers an observer the reports when the modulation source is in mapping mode.

Parameters:
callbacka callback function that receives a single boolean parameter
Since:
Bitwig Studio 1.0
void addNameObserver ( int  numChars,
String  textWhenUnassigned,
Callable  callback 
)

Registers an observer the reports the name of the modulation source.

Parameters:
numCharsthe maximum number of character the reported name should be long
textWhenUnassignedthe default text that gets reported if the modulation source is not connected to to a modulation source in Bitwig Studio yet
callbacka callback function that receives a single string parameter
Since:
Bitwig Studio 1.0
void toggleIsMapping ( )

Toggles the modulation source between mapping mode and normal control functionality.

Since:
Bitwig Studio 1.0

List of all members.


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