Static Public Member Functions | |
void | setFrameType (int frameType) |
Mode | openInMode (TopComponent component, String modeName) |
Mode | openInMode (Workspace workspace, TopComponent component, String modeName) |
Mode | openInMode (TopComponent component, String modeName, int frameType) |
Mode | openInMode (Workspace workspace, TopComponent component, String modeName, int frameType) |
void | setPersistMode (TopComponent comp, int option) |
int | getPersistMode (TopComponent comp) |
void | frameResidesInDesktop (Mode mode) |
void | frameResidesInDesktop (Mode mode, int frameType) |
TopComponent | findTopComponent (String componentName) |
TopComponent | findTopComponent (Workspace workspace, String componentName) |
Workspace | createWorkspace (String codeName, String displayName) |
Static Public Attributes | |
final int | INTERNAL_FRAME = 0 |
final int | TOP_FRAME = 1 |
final int | DESKTOP_FRAME = 2 |
final int | PERSIST_ONLY_OPENED = 1 |
final int | PERSIST_NEVER = 0 |
final int | PERSIST_ALWAYS = 2 |
final int | PERSIST_UNKNOWN = -1 |
Private Member Functions | |
WindowUtils () | |
Static Private Member Functions | |
boolean | performDesktopFrameAction (Mode mode, TopComponent comp, ClassLoader classLoader, Class modeImplClass, Class windowUtilsClass) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, ClassNotFoundException |
Static Private Attributes | |
final String | INTERNAL_FRAME_STRING = "INTERNAL_FRAME" |
final String | TOP_FRAME_STRING = "TOP_FRAME" |
final String | DESKTOP_FRAME_STRING = "DESKTOP_FRAME" |
final String | CONSTRAINT_WEST = "WEST" |
final String | PERSISTENCE_TYPE = "PersistenceType" |
final String | PERSIST_NEVER_STR = "Never" |
final String | PERSIST_ONLY_OPENED_STR = "OnlyOpened" |
final String | PERSIST_ALWAYS_STR = null |
int | defaultFrameType = INTERNAL_FRAME |
String[] | possibleFrameTypes = { INTERNAL_FRAME_STRING, TOP_FRAME_STRING, DESKTOP_FRAME_STRING } |
Log | log = LogFactory.getLog(WindowUtils.class) |
|
do not instantiate |
|
Utility method: creates a workspace and adds it to the WindowManager's list of workspaces. The new workspace will appear as the last one in the list.
|
|
Utility method: Returns the TopComponent with the given programmatic name in the given workspace, or
|
|
Utility method: Returns the TopComponent with the given programmatic name in the current workspace, or
|
|
Utility method: makes the given mode either reside in the desktop or display a separate window.
|
|
Utility method: makes the given mode reside in the desktop instead of as a separate window.
|
|
Get the persistence mode of the given TopComponent
|
|
Utility method: opens a topcomponent in the given workspace in a mode with the indicated name. This method first looks if the mode already exists, or else creates it.
|
|
Utility method: opens a topcomponent in the current workspace in a mode with the indicated name. This method first looks if the mode already exists, or else creates it
|
|
Utility method: opens a topcomponent in the given workspace in a mode with the indicated name. This method first looks if the mode already exists, or else creates it. Opens the topcomponent in the desktop.
|
|
Utility method: opens a topcomponent in the current workspace in a mode with the indicated name. This method first looks if the mode already exists, or else creates it. Opens the topcomponent in the desktop.
|
|
|
|
Utility method: Sets the default windowing behavior, MDI or SDI. If set to
|
|
Determine under which conditions the TopComponent is persisted to the NetBeans system directory
|
|
|
|
Indicates the default behavior for windows, MDI or SDI. Default is MDI. |
|
The frame resides docked left, right, top, or bottom |
|
|
|
A frame that resides in the desktop |
|
|
|
|
|
always persist the TopComponent |
|
|
|
dont persist the TopComponent |
|
|
|
persist a TopComponent only if it is opened |
|
|
|
unkown persistence mode the TopComponent |
|
|
|
|
|
A frame that resides as a separate window |
|
|