bibliothek.gui.dock.station.stack.tab
Interface TabMenu

All Superinterfaces:
TabPaneComponent
All Known Subinterfaces:
CombinedMenu
All Known Implementing Classes:
AbstractCombinedMenu, BubbleTabMenu, EclipseMenu, FlatMenu

public interface TabMenu
extends TabPaneComponent

A TabMenu is a list of one or several Dockables, the user can open the menu and select one of them.

Author:
Benjamin Sigg

Method Summary
 Dockable getDockable(int index)
          Gets the index'th Dockable of this menu.
 int getDockableCount()
          Gets the number of Dockables shown on this menu.
 Dockable[] getDockables()
          Gets all the Dockables that are shown in this menu.
 
Methods inherited from interface bibliothek.gui.dock.station.stack.tab.TabPaneComponent
getBounds, getMaximumSize, getMinimumSize, getOverlap, getPreferredSize, getTabParent, getZOrder, isPaneVisible, setBounds, setOrientation, setPaneVisible, setZOrder
 

Method Detail

getDockables

Dockable[] getDockables()
Gets all the Dockables that are shown in this menu.

Returns:
the list of elements in this menu

getDockable

Dockable getDockable(int index)
Gets the index'th Dockable of this menu.

Parameters:
index - the index of an item
Returns:
the item

getDockableCount

int getDockableCount()
Gets the number of Dockables shown on this menu.

Returns:
the number of items