Bitwig Studio Control Surface API  4.0.1
Scrollable.java
1 package com.bitwig.extension.controller.api;
2 
8 public interface Scrollable extends RelativeHardwarControlBindable
9 {
16 
22  void scrollIntoView(int position);
23 
30  void scrollBy(int amount);
31 
37  default void scrollForwards()
38  {
39  scrollBy(1);
40  }
41 
42  HardwareActionBindable scrollForwardsAction();
43 
49  default void scrollBackwards()
50  {
51  scrollBy(-1);
52  }
53 
54  HardwareActionBindable scrollBackwardsAction();
55 
62  void scrollByPages(int amount);
63 
69  default void scrollPageForwards()
70  {
71  scrollByPages(1);
72  }
73 
74  HardwareActionBindable scrollPageForwardsAction();
75 
81  default void scrollPageBackwards()
82  {
83  scrollByPages(-1);
84  }
85 
86  HardwareActionBindable scrollPageBackwardsAction();
87 
94 
101 }