public class FlatMenu extends ButtonCombinedMenu<BasicMiniButton>
Dockable
s to select.Constructor and Description |
---|
FlatMenu(FlatTabPane parent)
Creates a new
FlatMenu . |
Modifier and Type | Method and Description |
---|---|
protected BasicMiniButton |
createButton(BasicTrigger trigger)
Creates a new button for this menu.
|
protected BasicButtonModel |
getModel(BasicMiniButton button)
Gets a
BasicButtonModel which is used to interact with button , this method
may be called many times for the same button. |
backgroundChanged, createComponent, ensureComponent, getButton, selected, setController
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 FlatMenu(FlatTabPane parent)
FlatMenu
.parent
- the panel for which this menu is usedprotected BasicMiniButton createButton(BasicTrigger trigger)
ButtonCombinedMenu
Component
.createButton
in class ButtonCombinedMenu<BasicMiniButton>
trigger
- a trigger to call AbstractCombinedMenu.open()
, can be ignored.protected BasicButtonModel getModel(BasicMiniButton 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<BasicMiniButton>
button
- the button whose model is requestednull