Interface Cursor
- All Superinterfaces:
HardwareBindable,RelativeHardwarControlBindable
- All Known Subinterfaces:
ChainSelector,CursorBrowserFilterColumn,CursorBrowserFilterItem,CursorBrowserItem,CursorBrowserResultItem,CursorBrowsingSession,CursorChannel,CursorClip,CursorDevice,CursorDeviceLayer,CursorRemoteControlsPage,CursorTrack,PinnableCursor,PinnableCursorClip,PinnableCursorDevice
A generic interface that provides the foundation for working with selections.
Implementations of this interface can either represent custom selection cursors that are created by
controller scripts, or represent the cursor of user selections as shown in Bitwig Studio editors, such as
the Arranger track selection cursor, the note editor event selection cursor and so on.
- Since:
- API version 1
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.voidDeprecated.UsehasPrevious()instead.hasNext()Boolean value that reports whether there is an item after the current cursor position.Boolean value that reports whether there is an item before the current cursor position.voidSelect the first item.voidSelect the last item.voidSelect the next item.voidSelect the previous item.Methods inherited from interface com.bitwig.extension.controller.api.RelativeHardwarControlBindable
addBinding, addBindingWithSensitivity
-
Method Details
-
selectPrevious
void selectPrevious()Select the previous item.- Since:
- API version 1
-
selectPreviousAction
HardwareActionBindable selectPreviousAction() -
selectNext
void selectNext()Select the next item.- Since:
- API version 1
-
selectNextAction
HardwareActionBindable selectNextAction() -
selectFirst
void selectFirst()Select the first item.- Since:
- API version 1
-
selectLast
void selectLast()Select the last item.- Since:
- API version 1
-
hasNext
BooleanValue hasNext()Boolean value that reports whether there is an item after the current cursor position.- Since:
- API version 2
-
hasPrevious
BooleanValue hasPrevious()Boolean value that reports whether there is an item before the current cursor position.- Since:
- API version 2
-
addCanSelectPreviousObserver
Deprecated.UsehasPrevious()instead.Registers a function with bool argument that gets called when the previous item gains or remains selectable.- Since:
- API version 1
-
addCanSelectNextObserver
Deprecated.UsehasNext()instead.Registers a function with bool argument that gets called when the next item gains or remains selectable.- Since:
- API version 1
-
hasNext()instead.