Uses of Class
com.google.gwt.user.client.ui.MenuItem
Packages that use MenuItem
Package
Description
Widgets, Panels, and other user-interface classes.
-
Uses of MenuItem in com.google.gwt.user.client.ui
Methods in com.google.gwt.user.client.ui that return MenuItemModifier and TypeMethodDescriptionMenuBar.addItem(SafeHtml html, Scheduler.ScheduledCommand cmd) Adds a menu item to the bar containing SafeHtml, that will fire the given command when it is selected.Adds a menu item to the bar, that will open the specified menu when it is selected.Adds a menu item to the bar.MenuBar.addItem(String text, boolean asHTML, Scheduler.ScheduledCommand cmd) Adds a menu item to the bar, that will fire the given command when it is selected.Adds a menu item to the bar, that will open the specified menu when it is selected.MenuBar.addItem(String text, Scheduler.ScheduledCommand cmd) Adds a menu item to the bar, that will fire the given command when it is selected.Adds a menu item to the bar, that will open the specified menu when it is selected.protected MenuItemMenuBar.getSelectedItem()Returns theMenuItemthat is currently selected (highlighted) by the user.MenuBar.insertItem(MenuItem item, int beforeIndex) Adds a menu item to the bar at a specific index.Methods in com.google.gwt.user.client.ui that return types with arguments of type MenuItemModifier and TypeMethodDescriptionMenuBar.getItems()Returns a list containing theMenuItemobjects in the menu bar.Methods in com.google.gwt.user.client.ui with parameters of type MenuItemModifier and TypeMethodDescriptionAdds a menu item to the bar.(package private) voidMenuBar.doItemAction(MenuItem item, boolean fireCommand, boolean focus) intMenuBar.getItemIndex(MenuItem item) Get the index of aMenuItem.MenuBar.insertItem(MenuItem item, int beforeIndex) Adds a menu item to the bar at a specific index.(package private) voidvoidMenuBar.removeItem(MenuItem item) Removes the specified menu item from the bar.voidMenuBar.selectItem(MenuItem item) Select the given MenuItem, which must be a direct child of this MenuBar.(package private) voidMenuBar.updateSubmenuIcon(MenuItem item) Show or hide the icon used for items with a submenu.