Package | Description |
---|---|
com.google.gwt.user.client.ui |
Widgets, Panels, and other user-interface classes.
|
Modifier and Type | Method and 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. |
Modifier and Type | Method and 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(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(String text,
MenuBar popup)
Adds a menu item to the bar, that will open the specified menu when it is
selected.
|
void |
MenuItem.setSubMenu(MenuBar subMenu)
Sets the sub-menu associated with this item.
|
Constructor and Description |
---|
MenuItem(SafeHtml html,
MenuBar subMenu)
Constructs a new menu item that cascades to a sub-menu when it is selected.
|
MenuItem(String text,
boolean asHTML,
MenuBar subMenu)
Constructs a new menu item that cascades to a sub-menu when it is selected.
|
MenuItem(String text,
MenuBar subMenu)
Constructs a new menu item that cascades to a sub-menu when it is selected.
|
Copyright © 2018. All rights reserved.