## Uses of Class
com.google.gwt.user.client.ui.MenuBar

- Packages that use MenuBar
  Package | Description
  --- | ---
  com.google.gwt.user.client.ui | Widgets, Panels, and other user-interface classes.

- - ### Uses of MenuBar in com.google.gwt.user.client.ui

    Methods in com.google.gwt.user.client.ui that return MenuBar
    Modifier and Type | Method | Description
    --- | --- | ---
    `MenuBar` | MenuItem.`getParentMenu()` | Gets the menu that contains this item.
    `MenuBar` | MenuItemSeparator.`getParentMenu()` | Gets the menu that contains this item.
    `MenuBar` | MenuItem.`getSubMenu()` | Gets the sub-menu associated with this item.
    `protected MenuBar` | SuggestBox.DefaultSuggestionDisplay.`getSuggestionMenu()` | Get the `MenuBar` used to display suggestions.

    Methods in com.google.gwt.user.client.ui with parameters of type MenuBar
    Modifier and Type | Method | Description
    --- | --- | ---
    `MenuItem` | MenuBar.`addItem​(SafeHtml html, MenuBar popup)` | Adds a menu item to the bar, that will open the specified menu when it is selected.
    `MenuItem` | MenuBar.`addItem​(java.lang.String text, boolean asHTML, MenuBar popup)` | Adds a menu item to the bar, that will open the specified menu when it is selected.
    `MenuItem` | MenuBar.`addItem​(java.lang.String text, MenuBar popup)` | Adds a menu item to the bar, that will open the specified menu when it is selected.
    `(package private) void` | MenuItem.`setParentMenu​(MenuBar parentMenu)` |
    `(package private) void` | MenuItemSeparator.`setParentMenu​(MenuBar parentMenu)` |
    `void` | MenuItem.`setSubMenu​(MenuBar subMenu)` | Sets the sub-menu associated with this item.

    Constructors in com.google.gwt.user.client.ui with parameters of type MenuBar
    Constructor | Description
    --- | ---
    `MenuItem​(SafeHtml html, MenuBar subMenu)` | Constructs a new menu item that cascades to a sub-menu when it is selected.
    `MenuItem​(java.lang.String text, boolean asHTML, MenuBar subMenu)` | Constructs a new menu item that cascades to a sub-menu when it is selected.
    `MenuItem​(java.lang.String text, MenuBar subMenu)` | Constructs a new menu item that cascades to a sub-menu when it is selected.