com.vlsolutions.swing.docking

Interface TabbedDockableContainer

public interface TabbedDockableContainer extends DockableContainer

Interface describing a container that can be used to display more than one Dockable in a Tabbed Pane fashion.

This interface is meant for API Extenders in order to provide new kinds of TabbedDockableContainers (the default implementation is DockTabbedPane).

Method Summary
voidaddDockable(Dockable dockable, int index)
Adds a dockable to the given index tab.
DockablegetDockableAt(int index)
Returns the dockable at the index tab
DockablegetSelectedDockable()
Returns the currently selected (front) dockable
intgetTabCount()
Returs the current tab count (which is also the current dockable count)
intindexOfDockable(Dockable dockable)
Returns the index of the given dockable
voidremoveDockable(Dockable dockable)
Removes a dockable from the tabs
voidremoveDockable(int index)
Remove the dockable at specified index tab
voidsetSelectedDockable(Dockable dockable)
Change the tab selection to display this dockable

Method Detail

addDockable

public void addDockable(Dockable dockable, int index)
Adds a dockable to the given index tab.

getDockableAt

public Dockable getDockableAt(int index)
Returns the dockable at the index tab

getSelectedDockable

public Dockable getSelectedDockable()
Returns the currently selected (front) dockable

getTabCount

public int getTabCount()
Returs the current tab count (which is also the current dockable count)

indexOfDockable

public int indexOfDockable(Dockable dockable)
Returns the index of the given dockable

removeDockable

public void removeDockable(Dockable dockable)
Removes a dockable from the tabs

removeDockable

public void removeDockable(int index)
Remove the dockable at specified index tab

setSelectedDockable

public void setSelectedDockable(Dockable dockable)
Change the tab selection to display this dockable
© Copyright 2004-2005 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications