/
Cursor.js
69 lines (59 loc) · 1.55 KB
/
Cursor.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/* API Version - 3.1.2 */
/**
* 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
*/
function Cursor() {}
Cursor.prototype = new RelativeHardwarControlBindable();
Cursor.prototype.constructor = Cursor;
/**
* Select the previous item.
*
* @since API version 1
*/
Cursor.prototype.selectPrevious = function() {};
/**
* @return {HardwareActionBindable}
*/
Cursor.prototype.selectPreviousAction = function() {};
/**
* Select the next item.
*
* @since API version 1
*/
Cursor.prototype.selectNext = function() {};
/**
* @return {HardwareActionBindable}
*/
Cursor.prototype.selectNextAction = function() {};
/**
* Select the first item.
*
* @since API version 1
*/
Cursor.prototype.selectFirst = function() {};
/**
* Select the last item.
*
* @since API version 1
*/
Cursor.prototype.selectLast = function() {};
/**
* Boolean value that reports whether there is an item after the current cursor position.
*
* @return {BooleanValue}
* @since API version 2
*/
Cursor.prototype.hasNext = function() {};
/**
* Boolean value that reports whether there is an item before the current cursor position.
*
* @return {BooleanValue}
* @since API version 2
*/
Cursor.prototype.hasPrevious = function() {};