|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
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 JMenuItem s that
is displayed when the user selects an item on the JMenuBar . |
class |
JRadioButtonMenuItem
An implementation of a radio button menu item. |
Methods in javax.swing that return JMenuItem | |
JMenuItem |
JMenu.add(JMenuItem menuItem)
Appends a menu item to the end of this menu. |
JMenuItem |
JMenu.add(String s)
Creates a new menu item with the specified text and appends it to the end of this menu. |
JMenuItem |
JMenu.add(Action a)
Creates a new menu item attached to the specified Action object and appends it to the end of this menu. |
protected JMenuItem |
JMenu.createActionComponent(Action a)
Factory method which creates the JMenuItem for
Action s added to the JMenu . |
JMenuItem |
JMenu.insert(JMenuItem mi,
int pos)
Inserts the specified JMenuitem at a given position. |
JMenuItem |
JMenu.insert(Action a,
int pos)
Inserts a new menu item attached to the specified Action
object at a given position. |
JMenuItem |
JMenu.getItem(int pos)
Returns the JMenuItem at the specified position. |
JMenuItem |
JPopupMenu.add(JMenuItem menuItem)
Appends the specified menu item to the end of this menu. |
JMenuItem |
JPopupMenu.add(String s)
Creates a new menu item with the specified text and appends it to the end of this menu. |
JMenuItem |
JPopupMenu.add(Action a)
Appends a new menu item to the end of the menu which dispatches the specified Action object. |
protected JMenuItem |
JPopupMenu.createActionComponent(Action a)
Factory method which creates the JMenuItem for
Actions added to the JPopupMenu . |
Methods in javax.swing with parameters of type JMenuItem | |
JMenuItem |
JMenu.add(JMenuItem menuItem)
Appends a menu item to the end of this menu. |
protected PropertyChangeListener |
JMenu.createActionChangeListener(JMenuItem b)
Returns a properly configured PropertyChangeListener
which updates the control as changes to the Action occur. |
JMenuItem |
JMenu.insert(JMenuItem mi,
int pos)
Inserts the specified JMenuitem at a given position. |
void |
JMenu.remove(JMenuItem item)
Removes the specified menu item from this menu. |
JMenuItem |
JPopupMenu.add(JMenuItem menuItem)
Appends the specified menu item to the end of this menu. |
protected PropertyChangeListener |
JPopupMenu.createActionChangeListener(JMenuItem b)
Returns a properly configured PropertyChangeListener
which updates the control as changes to the Action occur. |
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 | |
protected void |
BasicMenuItemUI.installComponents(JMenuItem menuItem)
|
protected void |
BasicMenuItemUI.uninstallComponents(JMenuItem menuItem)
|
void |
BasicRadioButtonMenuItemUI.processMouseEvent(JMenuItem item,
MouseEvent e,
MenuElement[] path,
MenuSelectionManager manager)
|
void |
BasicCheckBoxMenuItemUI.processMouseEvent(JMenuItem item,
MouseEvent e,
MenuElement[] path,
MenuSelectionManager manager)
|
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.