net.infonode.docking
public class SplitWindow extends DockingWindow
Version: $Revision: 1.50 $
Constructor Summary | |
---|---|
SplitWindow(boolean horizontal)
Creates a split window.
| |
SplitWindow(boolean horizontal, DockingWindow leftWindow, DockingWindow rightWindow)
Creates a split window with with the given child windows.
| |
SplitWindow(boolean horizontal, float dividerLocation, DockingWindow leftWindow, DockingWindow rightWindow)
Creates a split window with with the given child windows.
| |
protected | SplitWindow(boolean horizontal, float dividerLocation, DockingWindow leftWindow, DockingWindow rightWindow, SplitWindowItem windowItem) |
Method Summary | |
---|---|
protected PropertyMap | createPropertyObject() |
protected DropAction | doAcceptDrop(Point p, DockingWindow window) |
protected void | doRemoveWindow(DockingWindow window) |
protected void | doReplace(DockingWindow oldWindow, DockingWindow newWindow) |
protected int | getChildEdgeDepth(DockingWindow window, Direction dir) |
DockingWindow | getChildWindow(int index) |
int | getChildWindowCount() |
float | getDividerLocation()
Returns the divider location as a fraction of this split window's size.
|
Icon | getIcon() |
DockingWindow | getLeftWindow()
Returns the left/upper child window.
|
protected PropertyMap | getPropertyObject() |
DockingWindow | getRightWindow()
Returns the right/lower child window.
|
SplitWindowProperties | getSplitWindowProperties()
Returns the property values for this split window.
|
boolean | isHorizontal()
Returns true if this SplitWindow is a horizontal split, otherwise it's vertical.
|
protected DockingWindow | newRead(ObjectInputStream in, ReadContext context, ViewReader viewReader) |
protected DockingWindow | oldRead(ObjectInputStream in, ReadContext context) |
protected void | optimizeWindowLayout() |
protected void | rootChanged(RootWindow oldRoot, RootWindow newRoot) |
void | setDividerLocation(float dividerLocation)
Sets the divider location as a fraction of this split window's size.
|
void | setHorizontal(boolean horizontal)
Sets the split to horizontal or vertical.
|
void | setWindows(DockingWindow leftWindow, DockingWindow rightWindow)
Sets the child windows of this split window.
|
protected void | update() |
protected void | updateWindowItem(RootWindow rootWindow) |
protected void | write(ObjectOutputStream out, WriteContext context, ViewWriter viewWriter) |
Parameters: horizontal true if the split is horizontal
Parameters: horizontal true if the split is horizontal leftWindow the left/upper window rightWindow the right/lower window
Parameters: horizontal true if the split is horizontal dividerLocation the divider location, 0 - 1 leftWindow the left/upper window rightWindow the right/lower window
Returns: the divider location as a fraction of this split window's size
Returns: the left/upper child window
Returns: the right/lower child window
Returns: the property values for this split window
Returns: true if this SplitWindow is a horizontal split, otherwise it's vertical
Since: IDW 1.2.0
Parameters: dividerLocation the divider location as a fraction of this split window's size
Parameters: horizontal if true the split is set to horizontal, otherwise vertical
Since: IDW 1.2.0
Parameters: leftWindow the left/upper child window rightWindow the right/lower child window