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

Public Member Functions

BooleanValue exists ()
void selectInEditor ()
void addNameObserver (int numChars, String textWhenUnassigned, Callable callback)
void addIsSelectedInEditorObserver (Callable callback)
void addIsSelectedObserver (Callable callback)
DeviceBank createDeviceBank (int numDevices) throws ControlSurfaceException
void select ()

Detailed Description

The foundation of all interfaces that contain devices, such as tracks, device layers, drum pads or FX slots.

Since:
Bitwig Studio 1.1

Definition at line 11 of file DeviceChain.java.


Member Function Documentation

void addIsSelectedInEditorObserver ( Callable  callback)

Registers an observer that reports if the device chain is selected in Bitwig Studio editors.

Parameters:
callbacka callback function that takes a single boolean parameter.
Since:
Bitwig Studio 1.1
void addIsSelectedObserver ( Callable  callback)
Deprecated:
Use addIsSelectedInEditorObserver instead.
Since:
Bitwig Studio 1.0
void addNameObserver ( int  numChars,
String  textWhenUnassigned,
Callable  callback 
)

Registers an observer that reports the name of the device chain, such as the track name or the drum pad name.

Parameters:
numCharsthe maximum number of characters used for the reported name
textWhenUnassignedthe default text that gets reported when the device chain is not associated with an object in Bitwig Studio yet.
callbacka callback function that receives a single name parameter (string).
Since:
Bitwig Studio 1.0
DeviceBank createDeviceBank ( int  numDevices) throws ControlSurfaceException

Returns an object that provides bank-wise navigation of devices.

Parameters:
numDevicesthe number of devices should be accessible simultaneously
Returns:
the requested device bank object
Exceptions:
ControlSurfaceException
Since:
Bitwig Studio 1.1

Returns a value object that indicates if the device chain exists, or if it has content.

Returns:
a boolean value object
Since:
Bitwig Studio 1.0
void select ( )
Deprecated:
Use selectInEditor() or Channel#selectInMixer() instead.
Since:
Bitwig Studio 1.0
void selectInEditor ( )

Selects the device chain in Bitwig Studio, in case it is a selectable object.

Since:
Bitwig Studio 1.1

List of all members.


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