站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class java.awt.MenuItem - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Class
java.awt.MenuItem

Packages that use MenuItem
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
 

Uses of MenuItem in java.awt
 

Subclasses of MenuItem in java.awt
 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 PopupMenu
          A 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
 MenuItem MenuBar.getShortcutMenuItem(MenuShortcut s)
          Gets the instance of MenuItem associated with the specified MenuShortcut object, or null if none of the menu items being managed by this menu bar is associated with the specified menu shortcut.
 MenuItem Menu.getItem(int index)
          Gets the item located at the specified index of this menu.
 MenuItem Menu.add(MenuItem mi)
          Adds the specified menu item to this menu.
 

Methods in java.awt with parameters of type MenuItem
protected abstract  java.awt.peer.MenuItemPeer Toolkit.createMenuItem(MenuItem target)
          Creates this toolkit's implementation of MenuItem using the specified peer interface.
 MenuItem Menu.add(MenuItem mi)
          Adds the specified menu item to this menu.
 void Menu.insert(MenuItem menuitem, int index)
          Inserts a menu item into this menu at the specified position.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.