Control Surface API  1.1.11
Application.java
00001 package com.bitwig.base.control_surface.iface;
00002 
00003 import com.bitwig.base.control_surface.ControlSurfaceException;
00004 import org.mozilla.javascript.Callable;
00005 
00017 public interface Application
00018 {
00023    public static String PANEL_LAYOUT_ARRANGE = "ARRANGE";
00024 
00029    public static String PANEL_LAYOUT_MIX = "MIX";
00030 
00035    public static String PANEL_LAYOUT_EDIT = "EDIT";
00036 
00046    void createAudioTrack(int position);
00047 
00057    void createInstrumentTrack(int position);
00058 
00068    void createEffectTrack(int position);
00069 
00082    Action[] getActions() throws ControlSurfaceException;
00083 
00092    Action getAction(String id) throws ControlSurfaceException;
00093 
00101    ActionCategory[] getActionCategories() throws ControlSurfaceException;
00102 
00112    ActionCategory getActionCategory(String id) throws ControlSurfaceException;
00113 
00118    void activateEngine();
00119 
00124    void deactivateEngine();
00125 
00133    void addHasActiveEngineObserver(Callable callable);
00134 
00142    void addProjectNameObserver(Callable callback, int maxChars);
00143 
00148    void nextProject();
00149 
00154    void previousProject();
00155 
00160    void undo();
00161 
00166    void redo();
00167 
00174    void setPanelLayout(String panelLayout);
00175 
00180    void nextPanelLayout();
00181 
00186    void previousPanelLayout();
00187 
00194    void addPanelLayoutObserver(Callable callable, int maxChars);
00195 
00202    void addDisplayProfileObserver(Callable callable, int maxChars);
00203 
00208    void toggleInspector();
00209 
00214    void toggleDevices();
00215 
00220    void toggleMixer();
00221 
00226    void toggleNoteEditor();
00227 
00232    void toggleAutomationEditor();
00233 
00238    void toggleBrowserVisibility();
00239 
00245    void arrowKeyLeft();
00246 
00252    void arrowKeyRight();
00253 
00259    void arrowKeyUp();
00260 
00266    void arrowKeyDown();
00267 
00273    void enter();
00274 
00280    void escape();
00281 
00286    void selectAll();
00287 
00292    void selectNone();
00293 
00298    void cut();
00299 
00304    void copy();
00305 
00310    void paste();
00311 
00316    void duplicate();
00317 
00325    void remove();
00326 
00332    void rename();
00333 
00338    void zoomIn();
00339 
00344    void zoomOut();
00345 
00350    void zoomToSelection();
00351 
00356    void zoomToFit();
00357 
00362    void focusPanelToLeft();
00363 
00368    void focusPanelToRight();
00369 
00374    void focusPanelAbove();
00375 
00380    void focusPanelBelow();
00381 
00386    void toggleFullScreen();
00387 
00392    @Deprecated
00393    void setPerspective(String perspective);
00394 
00399    @Deprecated
00400    void nextPerspective();
00401 
00406    @Deprecated
00407    void previousPerspective();
00408 
00413    @Deprecated
00414    void addSelectedModeObserver(Callable callable, int maxChars, String fallbackText);
00415 }
 All Classes Functions Variables