public interface UiWidgetMenuBar extends UiWidgetDynamicComposite<UiWidgetMenu>, UiWidgetRegularComposite<UiWidgetMenu>, UiWidgetNative
composite widget that represents a
menu bar. It is contains menus that are displayed by
their title in the menu bar. UiWidgetMenuBar should typically be created via
UiWidgetMainWindow.getMenuBar(). For portability and
usability you should avoid creating it manually via UiContext. However, if
you are using GWT with GWTP it might make sense to do so.STYLE_HEADERHTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_IDPROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLEWAI_ARIA| Modifier and Type | Method and Description |
|---|---|
void |
addChild(UiWidgetMenu child)
This method adds the given
child to the end of the child-list. |
UiWidgetMenu |
addMenu(String label)
|
addChildremoveChild, removeChildgetChild, getChildgetChildCount, getChildIndexgetContext, getParent, getSizeclearMessagesaddEventHandler, removeEventHandlersetModegetModesetModeFixedgetModeFixedsetIdgetIdsetTooltipgetTooltipgetVisibleFlag, isVisible, setVisible, setVisibleisVisibleRecursivesetEnabledisEnabledaddStyle, removeStylehasStylesetStylesgetStylessetPrimaryStylegetPrimaryStyledisposeisDisposedisModifiedgetAriaRolevalidateUiWidgetMenu addMenu(String label)
label - is the label of the menu.void addChild(UiWidgetMenu child)
child to the end of the child-list. For
vertical layouts this will be the bottom and for horizontal layouts this will be the right.addChild in interface UiWidgetDynamicComposite<UiWidgetMenu>child - is the UiWidget to add as child of this composite.List.add(Object)Copyright © 2001–2016 mmm-Team. All rights reserved.