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

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

JavaTM 2 Platform
Standard Edition

Uses of Class
javax.swing.JMenuItem

Packages that use JMenuItem
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look-and-feel. 
 

Uses of JMenuItem in javax.swing
 

Subclasses of JMenuItem in javax.swing
 class JCheckBoxMenuItem
          A menu item that can be selected or deselected.
 class JMenu
          An implementation of a menu -- a popup window containing JMenuItems that is displayed when the user selects an item on the JMenuBar.
 class JRadioButtonMenuItem
          An implementation of a RadioButtonMenuItem.
 

Methods in javax.swing that return JMenuItem
 JMenuItem JPopupMenu.add(JMenuItem menuItem)
          Appends the specified menu item to the end of this menu.
 JMenuItem JPopupMenu.add(String s)
          Creates a new menuitem with the specified text and appends it to the end of this menu.
 JMenuItem JPopupMenu.add(Action a)
          Append a new menuitem to the end of the menu which dispatches the specified Action object.
 JMenuItem JMenu.add(JMenuItem menuItem)
          Appends a menuitem to the end of this menu.
 JMenuItem JMenu.add(String s)
          Creates a new menuitem with the specified text and appends it to the end of this menu.
 JMenuItem JMenu.add(Action a)
          Creates a new menuitem attached to the specified Action object and appends it to the end of this menu.
 JMenuItem JMenu.insert(JMenuItem mi, int pos)
          Insert the specified JMenuitem at a given position.
 JMenuItem JMenu.insert(Action a, int pos)
          Insert a new menuitem attached to the specified Action object at a given position.
 JMenuItem JMenu.getItem(int pos)
          Returns the JMenuItem at the specified position.
 

Methods in javax.swing with parameters of type JMenuItem
 JMenuItem JPopupMenu.add(JMenuItem menuItem)
          Appends the specified menu item to the end of this menu.
protected  PropertyChangeListener JPopupMenu.createActionChangeListener(JMenuItem b)
           
 JMenuItem JMenu.add(JMenuItem menuItem)
          Appends a menuitem to the end of this menu.
protected  PropertyChangeListener JMenu.createActionChangeListener(JMenuItem b)
           
 JMenuItem JMenu.insert(JMenuItem mi, int pos)
          Insert the specified JMenuitem at a given position.
 void JMenu.remove(JMenuItem item)
          Removes the specified menu item from this menu.
 

Uses of JMenuItem in javax.swing.plaf.basic
 

Fields in javax.swing.plaf.basic declared as JMenuItem
protected  JMenuItem BasicMenuItemUI.menuItem
           
 

Methods in javax.swing.plaf.basic with parameters of type JMenuItem
 void BasicCheckBoxMenuItemUI.processMouseEvent(JMenuItem item, MouseEvent e, MenuElement[] path, MenuSelectionManager manager)
           
 void BasicRadioButtonMenuItemUI.processMouseEvent(JMenuItem item, MouseEvent e, MenuElement[] path, MenuSelectionManager manager)
           
 


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.