public class EclipseMenu extends ButtonCombinedMenu<RoundRectButton>
EclipseTabPane to select Dockables.TabMenuOverflowIconBridge.ICON_KEY, and thus changes automatically
when the number of children changes.| Constructor and Description |
|---|
EclipseMenu(EclipseTabPane pane)
Creates a new menu.
|
| Modifier and Type | Method and Description |
|---|---|
protected RoundRectButton |
createButton(BasicTrigger trigger)
Creates a new button for this menu.
|
protected BasicButtonModel |
getModel(RoundRectButton 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, setControlleraddTabMenuListener, closed, getBackground, getComponent, getController, getDockable, getDockableCount, getDockables, getZOrder, insert, isPaneVisible, open, remove, removeTabMenuListener, setEnabled, setIcon, setPaneVisible, setText, setTooltip, setZOrder, tabMenuListenersgetBounds, getMaximumSize, getMinimumSize, getOrientation, getOverlap, getPreferredSize, getTabParent, setBounds, setOrientationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBounds, getMaximumSize, getMinimumSize, getOverlap, getPreferredSize, getTabParent, setBounds, setOrientationpublic EclipseMenu(EclipseTabPane pane)
pane - the owner of this menuprotected RoundRectButton createButton(BasicTrigger trigger)
ButtonCombinedMenuComponent.createButton in class ButtonCombinedMenu<RoundRectButton>trigger - a trigger to call AbstractCombinedMenu.open(), can be ignored.protected BasicButtonModel getModel(RoundRectButton button)
ButtonCombinedMenuBasicButtonModel which is used to interact with button, this method
may be called many times for the same button.getModel in class ButtonCombinedMenu<RoundRectButton>button - the button whose model is requestednullCopyright © 2017 Docking Frames. All rights reserved.