@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 extends ButtonCombinedMenu<RoundButton>
Constructor and Description |
---|
BubbleTabMenu(BubbleStackDockComponent pane) |
Modifier and Type | Method and Description |
---|---|
protected RoundButton |
createButton(BasicTrigger trigger)
Creates a new button for this menu.
|
protected BasicButtonModel |
getModel(RoundButton button)
Gets a
BasicButtonModel which is used to interact with button , this method
may be called many times for the same button. |
void |
setController(DockController controller)
Sets the controller in whose realm this menu is used.
|
backgroundChanged, createComponent, ensureComponent, getButton, selected
addTabMenuListener, closed, getBackground, getComponent, getController, getDockable, getDockableCount, getDockables, getZOrder, insert, isPaneVisible, open, remove, removeTabMenuListener, setEnabled, setIcon, setPaneVisible, setText, setTooltip, setZOrder, tabMenuListeners
getBounds, getMaximumSize, getMinimumSize, getOrientation, getOverlap, getPreferredSize, getTabParent, setBounds, setOrientation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBounds, getMaximumSize, getMinimumSize, getOverlap, getPreferredSize, getTabParent, setBounds, setOrientation
public BubbleTabMenu(BubbleStackDockComponent pane)
protected RoundButton createButton(BasicTrigger trigger)
ButtonCombinedMenu
Component
.createButton
in class ButtonCombinedMenu<RoundButton>
trigger
- a trigger to call AbstractCombinedMenu.open()
, can be ignored.protected BasicButtonModel getModel(RoundButton button)
ButtonCombinedMenu
BasicButtonModel
which is used to interact with button
, this method
may be called many times for the same button.getModel
in class ButtonCombinedMenu<RoundButton>
button
- the button whose model is requestednull
public void setController(DockController controller)
CombinedMenu
setController
in interface CombinedMenu
setController
in class ButtonCombinedMenu<RoundButton>
controller
- the realm