Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| GWT 2.4.0
PREV NEXT | FRAMES NO FRAMES

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

Packages that use MenuItem
com.google.gwt.user.client.ui | 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 MenuItem
`MenuItem` | `MenuBar.addItem(MenuItem item)` Adds a menu item to the bar.
`MenuItem` | `MenuBar.addItem(SafeHtml html, Command cmd)` Adds a menu item to the bar containing SafeHtml, that will fire the given command when it is selected.
`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, Command cmd)` Adds a menu item to the bar, that will fire the given command 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, Command cmd)` Adds a menu item to the bar, that will fire the given command 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.
`protected MenuItem` | `MenuBar.getSelectedItem()` Returns the `MenuItem` that is currently selected (highlighted) by the user.
`MenuItem` | `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 MenuItem
`protected java.util.List<MenuItem>` | `MenuBar.getItems()` Returns a list containing the `MenuItem` objects in the menu bar.

Methods in com.google.gwt.user.client.ui with parameters of type MenuItem
`MenuItem` | `MenuBar.addItem(MenuItem item)` Adds a menu item to the bar.
`int` | `MenuBar.getItemIndex(MenuItem item)` Get the index of a `MenuItem`.
`MenuItem` | `MenuBar.insertItem(MenuItem item, int beforeIndex)` Adds a menu item to the bar at a specific index.
`void` | `MenuBar.removeItem(MenuItem item)` Removes the specified menu item from the bar.
`void` | `MenuBar.selectItem(MenuItem item)` Select the given MenuItem, which must be a direct child of this MenuBar.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| GWT 2.4.0
PREV NEXT | FRAMES NO FRAMES