Uses of Class javax.swing.JMenuItem

Uses in package javax.swing.plaf.basic

Fields of type javax.swing.JMenuItem

JMenuItem
The menu item itself

Methods with parameter type javax.swing.JMenuItem

void
This method installs the components for this JMenuItem.
void
Paints background of the menu item
void
BasicMenuItemUI.paintText(Graphics g, JMenuItem menuItem, Rectangle textRect, String text)
Paints label for the given menu item
void
DOCUMENT ME!
void
DOCUMENT ME!
void
This method uninstalls the components for this JMenuItem.

Uses in package javax.swing

Classes derived from javax.swing.JMenuItem

class
A menu item that displays a checkbox.
class
This class represents a menu that can be added to a menu bar or can be a submenu in some other menu.
class
This class represents JRadioButtonMenuItem.

Methods with parameter type javax.swing.JMenuItem

JMenuItem
Adds specified menu item to this menu
JMenuItem
Adds given menu item to the popup menu
PropertyChangeListener
Creates ActionChangeListener to listen for PropertyChangeEvents occuring in the action that is associated with this menu
PropertyChangeListener
Creates PropertyChangeListener that listens to PropertyChangeEvents occuring in the Action associated with given menu item in this popup menu.
JMenuItem
JMenu.insert(JMenuItem item, int index)
Creates JMenuItem with the specified text and inserts it in the at the specified index.
void
Removes given menu item from this menu.

Methods with return type javax.swing.JMenuItem

JMenuItem
Adds JMenuItem constructed with the specified label to this menu
JMenuItem
Constructs menu item with a specified label and adds it to popup menu
JMenuItem
JMenu.add(Action action)
Adds JMenuItem constructed using properties from specified action.
JMenuItem
Constructs menu item associated with the specified action and adds it to the popup menu
JMenuItem
Adds specified menu item to this menu
JMenuItem
Adds given menu item to the popup menu
JMenuItem
Creates and returns JMenuItem associated with the given action
JMenuItem
Creates new menu item associated with a given action.
JMenuItem
JMenu.getItem(int index)
Returns menu item located at the specified index in the menu
JMenuItem
JMenu.insert(Action action, int index)
Creates JMenuItem with the associated action and inserts it to the menu at the specified index.
JMenuItem
JMenu.insert(JMenuItem item, int index)
Creates JMenuItem with the specified text and inserts it in the at the specified index.