1 19 20 21 package org.netbeans.core.windows.view; 22 23 24 import java.awt.Rectangle ; 25 import java.util.ArrayList ; 26 import org.netbeans.core.windows.view.ui.slides.SlideOperation; 27 import org.openide.windows.TopComponent; 28 29 30 35 public interface Controller { 36 37 public void userActivatedModeView(ModeView modeView); 38 39 public void userActivatedModeWindow(ModeView modeView); 40 41 public void userActivatedEditorWindow(); 42 43 public void userSelectedTab(ModeView modeView, TopComponent selected); 44 45 public void userClosingMode(ModeView modeView); 46 47 public void userResizedMainWindow(Rectangle bounds); 48 49 public void userMovedMainWindow(Rectangle bounds); 50 51 public void userResizedEditorArea(Rectangle bounds); 52 53 public void userChangedFrameStateMainWindow(int frameState); 54 55 public void userChangedFrameStateEditorArea(int frameState); 56 57 public void userChangedFrameStateMode(ModeView modeView, int frameState); 58 59 public void userResizedModeBounds(ModeView modeView, Rectangle bounds); 60 61 public void userMovedSplit(SplitView splitView, ViewElement[] childrenViews, double[] splitWeights); 62 63 public void userClosedTopComponent(ModeView modeView, TopComponent tc); 64 65 public void userDroppedTopComponents(ModeView modeView, TopComponent[] tcs); 67 68 public void userDroppedTopComponents(ModeView modeView, TopComponent[] tcs, int index); 69 70 public void userDroppedTopComponents(ModeView modeView, TopComponent[] tcs, String side); 71 72 public void userDroppedTopComponentsIntoEmptyEditor(TopComponent[] tcs); 73 74 public void userDroppedTopComponentsAround(TopComponent[] tcs, String side); 75 76 public void userDroppedTopComponentsAroundEditor(TopComponent[] tcs, String side, int modeKind); 77 78 public void userDroppedTopComponentsIntoFreeArea(TopComponent[] tcs, Rectangle bounds, int modeKind); 79 80 public void userEnabledAutoHide(ModeView modeView, TopComponent tc); 82 83 public void userDisabledAutoHide(ModeView modeView, TopComponent tc); 84 85 public void userTriggeredSlideIn(ModeView modeView, SlideOperation operation); 86 87 public void userTriggeredSlideOut(ModeView modeView, SlideOperation operation); 88 89 public void userTriggeredSlideIntoEdge(ModeView modeView, SlideOperation operation); 90 91 public void userTriggeredSlideIntoDesktop(ModeView modeView, SlideOperation operation); 92 93 public void userResizedSlidingWindow(ModeView modeView, SlideOperation operation); 94 95 } 96 97 | Popular Tags |