Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Class
java.awt.MenuComponent

Packages that use 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 and Description
 class CheckboxMenuItem
          This class represents a check box that can be included in a menu.
 class Menu
          A Menu object is a pull-down menu component that is deployed from a menu bar.
 class MenuBar
          The MenuBar class encapsulates the platform's concept of a menu bar bound to a frame.
 class MenuItem
          All items in a menu must belong to the class MenuItem, or one of its subclasses.
 class PopupMenu
          A 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 and Description
 void MenuBar.remove(MenuComponent m)
          Removes the specified menu component from this menu bar.
 void Frame.remove(MenuComponent m)
          Removes the specified menu bar from this frame.
 void Menu.remove(MenuComponent item)
          Removes the specified menu item from this menu.
 void MenuContainer.remove(MenuComponent comp)
           
 void Component.remove(MenuComponent popup)
          Removes the specified popup menu from the component.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.