Uses of Class
java.awt.MenuItem
| Package | Description | 
|---|---|
| java.awt | Contains all of the classes for creating user interfaces and for painting
 graphics and images. | 
- 
Uses of MenuItem in java.awtSubclasses of MenuItem in java.awt Modifier and Type Class Description classCheckboxMenuItemThis class represents a check box that can be included in a menu.classMenuAMenuobject is a pull-down menu component that is deployed from a menu bar.classPopupMenuA class that implements a menu which can be dynamically popped up at a specified position within a component.Methods in java.awt that return MenuItem Modifier and Type Method Description MenuItemMenu. add(MenuItem mi)Adds the specified menu item to this menu.MenuItemMenu. getItem(int index)Gets the item located at the specified index of this menu.MenuItemMenuBar. getShortcutMenuItem(MenuShortcut s)Gets the instance ofMenuItemassociated with the specifiedMenuShortcutobject, ornullif none of the menu items being managed by this menu bar is associated with the specified menu shortcut.