com.vlsolutions.swing.docking
Interface TabbedDockableContainer

All Superinterfaces:
DockableContainer
All 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 Detail

getSelectedDockable

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


setSelectedDockable

void setSelectedDockable(Dockable dockable)
Change the tab selection to display this dockable


getTabCount

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


getDockableAt

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


addDockable

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


removeDockable

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


removeDockable

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


indexOfDockable

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



© Copyright 2004-2007 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications