1 19 20 21 package org.netbeans.core.windows.view; 22 23 24 import org.netbeans.core.windows.WindowSystemSnapshot; 25 import java.awt.*; 26 import org.openide.windows.TopComponent; 27 28 29 36 public interface View { 37 38 public int CHANGE_VISIBILITY_CHANGED = 0; 40 public int CHANGE_MAIN_WINDOW_BOUNDS_JOINED_CHANGED = 1; 41 public int CHANGE_MAIN_WINDOW_BOUNDS_SEPARATED_CHANGED = 2; 42 public int CHANGE_MAIN_WINDOW_FRAME_STATE_JOINED_CHANGED = 3; 43 public int CHANGE_MAIN_WINDOW_FRAME_STATE_SEPARATED_CHANGED = 4; 44 public int CHANGE_EDITOR_AREA_STATE_CHANGED = 5; 45 public int CHANGE_EDITOR_AREA_FRAME_STATE_CHANGED = 6; 46 public int CHANGE_EDITOR_AREA_BOUNDS_CHANGED = 7; 47 public int CHANGE_EDITOR_AREA_CONSTRAINTS_CHANGED = 8; 48 public int CHANGE_ACTIVE_MODE_CHANGED = 9; 49 public int CHANGE_TOOLBAR_CONFIGURATION_CHANGED = 10; 50 public int CHANGE_MAXIMIZED_MODE_CHANGED = 11; 51 public int CHANGE_MODE_ADDED = 12; 52 public int CHANGE_MODE_REMOVED = 13; 53 public int CHANGE_MODE_CONSTRAINTS_CHANGED = 14; 54 55 56 public int CHANGE_MODE_BOUNDS_CHANGED = 20; 58 public int CHANGE_MODE_FRAME_STATE_CHANGED = 21; 59 public int CHANGE_MODE_SELECTED_TOPCOMPONENT_CHANGED = 22; 60 public int CHANGE_MODE_TOPCOMPONENT_ADDED = 23; 61 public int CHANGE_MODE_TOPCOMPONENT_REMOVED = 24; 62 63 public int CHANGE_TOPCOMPONENT_DISPLAY_NAME_CHANGED = 31; 65 public int CHANGE_TOPCOMPONENT_DISPLAY_NAME_ANNOTATION_CHANGED = 32; 66 public int CHANGE_TOPCOMPONENT_TOOLTIP_CHANGED = 33; 67 public int CHANGE_TOPCOMPONENT_ICON_CHANGED = 34; 68 69 public int CHANGE_TOPCOMPONENT_ATTACHED = 41; 71 public int CHANGE_TOPCOMPONENT_ARRAY_ADDED = 42; 72 public int CHANGE_TOPCOMPONENT_ARRAY_REMOVED = 43; 73 public int CHANGE_TOPCOMPONENT_ACTIVATED = 44; 74 public int CHANGE_MODE_CLOSED = 45; 75 public int CHANGE_DND_PERFORMED = 46; 76 public int CHANGE_TOPCOMPONENT_AUTO_HIDE_ENABLED = 47; 77 public int CHANGE_TOPCOMPONENT_AUTO_HIDE_DISABLED = 48; 78 79 public int CHANGE_UI_UPDATE = 61; 81 82 public int TOPCOMPONENT_REQUEST_ATTENTION = 63; 83 public int TOPCOMPONENT_CANCEL_REQUEST_ATTENTION = 64; 84 public int CHANGE_MAXIMIZE_TOPCOMPONENT_SLIDE_IN = 65; 85 86 87 public void changeGUI(ViewEvent[] viewEvents, WindowSystemSnapshot snapshot); 88 89 public boolean isDragInProgress(); 91 public Frame getMainWindow(); 93 94 public Component getEditorAreaComponent(); 95 96 public String guessSlideSide(TopComponent tc); 97 98 99 } 100 101 | Popular Tags |