Java Platform 1.2

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)
           
 


Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.