net.infonode.docking

Class TabWindow

public class TabWindow extends AbstractTabWindow

A docking window containing a tabbed panel.

Version: $Revision: 1.57 $

Author: $Author: jesper $

Constructor Summary
TabWindow()
Creates an empty tab window.
TabWindow(DockingWindow window)
Creates a tab window with a tab containing the child window.
TabWindow(DockingWindow[] windows)
Creates a tab window with tabs for the child windows.
protected TabWindow(DockingWindow[] windows, TabWindowItem windowItem)
Method Summary
protected booleanacceptsSplitWith(DockingWindow window)
intaddTab(DockingWindow w, int index)
protected intaddTabNoSelect(DockingWindow window, int index)
protected PropertyMapcreatePropertyObject()
protected DockingWindowgetBestFittedWindow(DockingWindow parentWindow)
protected intgetChildEdgeDepth(DockingWindow window, Direction dir)
protected intgetEdgeDepth(Direction dir)
protected DockingWindowgetOptimizedWindow()
protected PropertyMapgetPropertyObject()
protected intgetTabAreaComponentCount()
protected voidgetTabAreaComponents(int index, JComponent[] components)
TabWindowPropertiesgetTabWindowProperties()
protected voidoptimizeWindowLayout()
protected voidtabSelected(WindowTab tab)
protected voidupdate()
protected voidupdateButtonVisibility()
protected voidupdateWindowItem(RootWindow rootWindow)
protected voidwrite(ObjectOutputStream out, WriteContext context, ViewWriter viewWriter)

Constructor Detail

TabWindow

public TabWindow()
Creates an empty tab window.

TabWindow

public TabWindow(DockingWindow window)
Creates a tab window with a tab containing the child window.

Parameters: window the child window

TabWindow

public TabWindow(DockingWindow[] windows)
Creates a tab window with tabs for the child windows.

Parameters: windows the child windows

TabWindow

protected TabWindow(DockingWindow[] windows, TabWindowItem windowItem)

Method Detail

acceptsSplitWith

protected boolean acceptsSplitWith(DockingWindow window)

addTab

public int addTab(DockingWindow w, int index)

addTabNoSelect

protected int addTabNoSelect(DockingWindow window, int index)

createPropertyObject

protected PropertyMap createPropertyObject()

getBestFittedWindow

protected DockingWindow getBestFittedWindow(DockingWindow parentWindow)

getChildEdgeDepth

protected int getChildEdgeDepth(DockingWindow window, Direction dir)

getEdgeDepth

protected int getEdgeDepth(Direction dir)

getOptimizedWindow

protected DockingWindow getOptimizedWindow()

getPropertyObject

protected PropertyMap getPropertyObject()

getTabAreaComponentCount

protected int getTabAreaComponentCount()

getTabAreaComponents

protected void getTabAreaComponents(int index, JComponent[] components)

getTabWindowProperties

public TabWindowProperties getTabWindowProperties()

optimizeWindowLayout

protected void optimizeWindowLayout()

tabSelected

protected void tabSelected(WindowTab tab)

update

protected void update()

updateButtonVisibility

protected void updateButtonVisibility()

updateWindowItem

protected void updateWindowItem(RootWindow rootWindow)

write

protected void write(ObjectOutputStream out, WriteContext context, ViewWriter viewWriter)