com.vlsolutions.swing.docking

Interface TabbedDockableContainer

All Superinterfaces:
DockableContainer
Known Implementing Classes:
DockTabbedPane

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

void
addDockable(Dockable dockable, int index)
Adds a dockable to the given index tab.
Dockable
getDockableAt(int index)
Returns the dockable at the index tab
Dockable
getSelectedDockable()
Returns the currently selected (front) dockable
int
getTabCount()
Returs the current tab count (which is also the current dockable count)
int
indexOfDockable(Dockable dockable)
Returns the index of the given dockable
void
removeDockable(Dockable dockable)
Removes a dockable from the tabs
void
removeDockable(int index)
Remove the dockable at specified index tab
void
setSelectedDockable(Dockable dockable)
Change the tab selection to display this dockable

Methods inherited from interface com.vlsolutions.swing.docking.DockableContainer

installDocking, uninstallDocking

Method Details

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-2006 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications