|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.station.stack.tab.AbstractTabPaneComponent bibliothek.gui.dock.station.stack.menu.AbstractCombinedMenu bibliothek.extension.gui.dock.theme.flat.FlatMenu
@ColorCodes(value={"stack.menu.edge","stack.menu.middle","stack.menu.edge.selected","stack.menu.middle.selected"}) public class FlatMenu
A menu that contains a list of Dockable
s to select.
Constructor Summary | |
---|---|
FlatMenu(FlatTabPane parent)
Creates a new FlatMenu . |
Method Summary | |
---|---|
protected java.awt.Component |
createComponent()
Creates the button which will always be visible. |
protected void |
selected(Dockable dockable)
Called if this menu was open, an element was selected and the menu closed. |
void |
setController(DockController controller)
Sets the controller in whose realm this menu is used. |
Methods inherited from class bibliothek.gui.dock.station.stack.menu.AbstractCombinedMenu |
---|
backgroundChanged, closed, ensureComponent, getBackground, getComponent, getController, getDockable, getDockableCount, getDockables, getZOrder, insert, isPaneVisible, open, remove, setIcon, setPaneVisible, setText, setTooltip, setZOrder |
Methods inherited from class bibliothek.gui.dock.station.stack.tab.AbstractTabPaneComponent |
---|
getBounds, getMaximumSize, getMinimumSize, getOrientation, getOverlap, getPreferredSize, getTabParent, setBounds, setOrientation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface bibliothek.gui.dock.station.stack.tab.TabPaneComponent |
---|
getBounds, getMaximumSize, getMinimumSize, getOverlap, getPreferredSize, getTabParent, setBounds, setOrientation |
Constructor Detail |
---|
public FlatMenu(FlatTabPane parent)
FlatMenu
.
parent
- the panel for which this menu is usedMethod Detail |
---|
protected java.awt.Component createComponent()
AbstractCombinedMenu
AbstractCombinedMenu
.
createComponent
in class AbstractCombinedMenu
protected void selected(Dockable dockable)
AbstractCombinedMenu
selected
in class AbstractCombinedMenu
dockable
- the selected elementpublic void setController(DockController controller)
CombinedMenu
setController
in interface CombinedMenu
setController
in class AbstractCombinedMenu
controller
- the realm
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |