|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TabMenu
A TabMenu
is a list of one or several Dockable
s, the user
can open the menu and select one of them.
Method Summary | |
---|---|
void |
addTabMenuListener(TabMenuListener listener)
Adds a new listener to this menu. |
Dockable |
getDockable(int index)
Gets the index'th Dockable of this menu. |
int |
getDockableCount()
Gets the number of Dockable s shown on this menu. |
Dockable[] |
getDockables()
Gets all the Dockable s that are shown in this menu. |
void |
removeTabMenuListener(TabMenuListener listener)
Removes listener from 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 |
---|
Dockable[] getDockables()
Dockable
s that are shown in this menu.
Dockable getDockable(int index)
Dockable
of this menu.
index
- the index of an item
int getDockableCount()
Dockable
s shown on this menu.
void addTabMenuListener(TabMenuListener listener)
listener
- the new listener, not null
void removeTabMenuListener(TabMenuListener listener)
listener
from this menu.
listener
- the listener to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |