|
||||||||||
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.bubble.BubbleTabMenu
@ColorCodes(value={"stack.menu.background.top.mouse","stack.menu.background.bottom.mouse","stack.menu.border.mouse","stack.menu.background.top","stack.menu.background.bottom","stack.menu.border"}) public class BubbleTabMenu
A round button with an icon that opens a menu when clicked.
Nested Class Summary | |
---|---|
protected class |
BubbleTabMenu.BubbleMenuColor
Link to a color that is used to paint this button. |
Constructor Summary | |
---|---|
BubbleTabMenu(StackDockComponentParent station,
TabPane parent,
CombinedHandler<CombinedMenu> visibility)
Creates a new tab menu. |
Method Summary | |
---|---|
protected Component |
createComponent()
Creates the button which will always be visible. |
boolean |
isMouseOver()
Tells whether the mouse is currently over this menus button. |
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. |
void |
stopAnimation()
Stops any animation of this menu. |
Methods inherited from class bibliothek.gui.dock.station.stack.menu.AbstractCombinedMenu |
---|
closed, ensureComponent, 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 BubbleTabMenu(StackDockComponentParent station, TabPane parent, CombinedHandler<CombinedMenu> visibility)
station
- the owner of this menuparent
- the pane on which the menu is shownvisibility
- handles the visibility of this menuMethod Detail |
---|
public void setController(DockController controller)
CombinedMenu
setController
in interface CombinedMenu
setController
in class AbstractCombinedMenu
controller
- the realmpublic void stopAnimation()
public boolean isMouseOver()
true
if the mouse is over the buttonprotected Component createComponent()
AbstractCombinedMenu
AbstractCombinedMenu
.
createComponent
in class AbstractCombinedMenu
protected void selected(Dockable dockable)
AbstractCombinedMenu
selected
in class AbstractCombinedMenu
dockable
- the selected element
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |