Control Surface API  1.1.11
Clip.java
00001 package com.bitwig.base.control_surface.iface;
00002 
00003 import org.mozilla.javascript.Callable;
00004 
00014 public interface Clip
00015 {
00022    void scrollToKey(int key);
00023 
00030    void scrollKeysPageUp();
00031 
00038    void scrollKeysPageDown();
00039 
00046    void scrollKeysStepUp();
00047 
00054    void scrollKeysStepDown();
00055 
00062    void scrollToStep(int step);
00063 
00070    void scrollStepsPageForward();
00071 
00078    void scrollStepsPageBackwards();
00079 
00086    void scrollStepsStepForward();
00087 
00094    void scrollStepsStepBackwards();
00095 
00102    void addCanScrollKeysUpObserver(Callable callback);
00103 
00110    void addCanScrollKeysDownObserver(Callable callback);
00111 
00118    void addCanScrollStepsBackwardsObserver(Callable callback);
00119 
00126    void addCanScrollStepsForwardObserver(Callable callback);
00127 
00136    void toggleStep(int x, int y, int insertVelocity);
00137 
00147    void setStep(int x, int y, int insertVelocity, double insertDuration);
00148 
00157    void clearStep(int x, int y);
00158 
00169    void selectStepContents(int x, int y, boolean clearCurrentSelection);
00170 
00177    void setStepSize(double lengthInBeatTime);
00178 
00188    void addStepDataObserver(Callable callback);
00189 
00197    void addPlayingStepObserver(Callable callback);
00198 
00205    void setName(String name);
00206 
00213    BooleanValue getShuffle();
00214 
00221    RangedValue getAccent();
00222 
00229    BeatTime getPlayStart();
00230 
00237    BeatTime getPlayStop();
00238 
00245    BooleanValue isLoopEnabled();
00246 
00253    BeatTime getLoopStart();
00254 
00261    BeatTime getLoopLength();
00262 }
 All Classes Functions Variables