|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
net.infonode.gui.panel.BaseContainer
net.infonode.gui.panel.BasePanel
net.infonode.docking.DockingWindow
net.infonode.docking.SplitWindow
A window with a split pane that contains two child windows.
Nested Class Summary |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Field Summary |
Fields inherited from class javax.swing.JComponent |
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
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. |
Method Summary | |
DockingWindow |
getChildWindow(int index)
Returns the child window with index index. |
int |
getChildWindowCount()
Returns the number of child windows. |
float |
getDividerLocation()
Returns the divider location as a fraction of this split window's size. |
Icon |
getIcon()
Returns the icon for this window. |
DockingWindow |
getLeftWindow()
Returns the left/upper child window. |
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. |
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. |
Methods inherited from class net.infonode.gui.panel.BaseContainer |
setBackground, setFont, setForeground, setOpaque, setUI |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, updateUI |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SplitWindow(boolean horizontal)
horizontal
- true if the split is horizontalpublic SplitWindow(boolean horizontal, DockingWindow leftWindow, DockingWindow rightWindow)
horizontal
- true if the split is horizontalleftWindow
- the left/upper windowrightWindow
- the right/lower windowpublic SplitWindow(boolean horizontal, float dividerLocation, DockingWindow leftWindow, DockingWindow rightWindow)
horizontal
- true if the split is horizontaldividerLocation
- the divider location, 0 - 1leftWindow
- the left/upper windowrightWindow
- the right/lower windowMethod Detail |
public SplitWindowProperties getSplitWindowProperties()
public DockingWindow getLeftWindow()
public DockingWindow getRightWindow()
public void setDividerLocation(float dividerLocation)
dividerLocation
- the divider location as a fraction of this split window's sizepublic float getDividerLocation()
public void setWindows(DockingWindow leftWindow, DockingWindow rightWindow)
leftWindow
- the left/upper child windowrightWindow
- the right/lower child windowpublic boolean isHorizontal()
public void setHorizontal(boolean horizontal)
horizontal
- if true the split is set to horizontal, otherwise verticalpublic DockingWindow getChildWindow(int index)
DockingWindow
getChildWindow
in class DockingWindow
index
- the child window index
public int getChildWindowCount()
DockingWindow
getChildWindowCount
in class DockingWindow
public Icon getIcon()
DockingWindow
getIcon
in class DockingWindow
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |