net.infonode.docking.util
public final class DockingUtil extends Object
Version: $Revision: 1.25 $
Method Summary | |
---|---|
static void | addWindow(DockingWindow window, RootWindow rootWindow) Adds a window inside a root window. |
static RootWindow | createHeavyweightSupportedRootWindow(AbstractViewMap views, boolean createWindowPopupMenu) Creates a root window with support for view serialization, popup menues and support for heavy weight components inside the views. |
static RootWindow | createHeavyweightSupportedRootWindow(AbstractViewMap views, ViewSerializer viewSerializer, boolean createWindowPopupMenu) Creates a root window with support for view serialization, popup menues and support for heavyweight components inside the views. |
static RootWindow | createRootWindow(AbstractViewMap views, boolean createWindowPopupMenu)
Creates a root window with support for view serialization and popup menues.
|
static RootWindow | createRootWindow(AbstractViewMap views, ViewSerializer viewSerializer, boolean createWindowPopupMenu)
Creates a root window with support for view serialization and popup menues.
|
static FloatingWindow | getFloatingWindowFor(DockingWindow window)
Returns the FloatingWindow for a window if the window is undocked.
|
static TabWindow | getTabWindowFor(DockingWindow window)
Returns the TabWindow for a window. |
static boolean | isAncestor(DockingWindow ancestor, DockingWindow child)
Returns true if ancestor is an ancestor of child or the windows are the same.
|
Adds a window inside a root window. The following methods are tried in order:
Parameters: window the window to add rootWindow the root window in which to add it
Since: IDW 1.1.0
Creates a root window with support for view serialization, popup menues and support for heavy weight components inside the views.
All the views are added to a tab window which is placed in the root window.
Parameters: views the views that can be shown inside the root window createWindowPopupMenu true if a standard window popup menu should be created
Returns: the created root window
Since: IDW 1.4.0
Creates a root window with support for view serialization, popup menues and support for heavyweight components inside the views.
All the views are added to a tab window which is placed in the root window.
Parameters: views contains all the static views viewSerializer the view serializer used in the created RootWindow createWindowPopupMenu true if a standard window popup menu should be created
Returns: the created root window
Since: IDW 1.4.0
Parameters: views the views that can be shown inside the root window createWindowPopupMenu true if a standard window popup menu should be created
Returns: the created root window
Parameters: views contains all the static views viewSerializer the view serializer used in the created RootWindow createWindowPopupMenu true if a standard window popup menu should be created
Returns: the created root window
Parameters: window the window
Returns: the FloatingWindow for the window or null if the window is not undocked
Since: IDW 1.4.0
Parameters: window the window
Returns: the TabWindow for the window
Since: IDW 1.3.0
Parameters: ancestor the ancestor window child the child window
Returns: true if ancestor is an ancestor of child or the windows are the same