Uses of Class
java.awt.MenuComponent
| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user interfaces and for painting
graphics and images.
|
-
Uses of MenuComponent in java.awt
Subclasses of MenuComponent 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.classMenuBarTheMenuBarclass encapsulates the platform's concept of a menu bar bound to a frame.classMenuItemAll items in a menu must belong to the classMenuItem, or one of its subclasses.classPopupMenuA class that implements a menu which can be dynamically popped up at a specified position within a component.Methods in java.awt with parameters of type MenuComponent Modifier and Type Method Description voidComponent. remove(MenuComponent popup)Removes the specified popup menu from the component.voidFrame. remove(MenuComponent m)Removes the specified menu bar from this frame.voidMenu. remove(MenuComponent item)Removes the specified menu item from this menu.voidMenuBar. remove(MenuComponent m)Removes the specified menu component from this menu bar.voidMenuContainer. remove(MenuComponent comp)Removes the specified menu component from the menu.