Control Surface API  2.2.2
Scrollable.java
1 package com.bitwig.extension.controller.api;
2 
8 public interface Scrollable
9 {
16 
23  void scrollBy(int amount);
24 
30  default void scrollForwards()
31  {
32  scrollBy(1);
33  }
34 
40  default void scrollBackwards()
41  {
42  scrollBy(-1);
43  }
44 
51  void scrollByPages(int pages);
52 
58  default void scrollPageForwards()
59  {
60  scrollByPages(1);
61  }
62 
68  default void scrollPageBackwards()
69  {
70  scrollByPages(-1);
71  }
72 
79 
86 }