Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Swing 1.1
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
javax.swing.MenuElement

Packages that use MenuElement
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.event | Provides for events fired by Swing components.
javax.swing.plaf.basic | Provides user interface objects built according to the Basic look-and-feel.
javax.swing.plaf.metal | Provides user interface objects built according to the ``metal'' look-and-feel.

Uses of MenuElement in javax.swing

Classes in javax.swing that implement MenuElement
`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` | `JMenuBar` An implementation of a MenuBar.
`class` | `JMenuItem` An implementation of a MenuItem.
`class` | `JPopupMenu` An implementation of a Popup Menu -- a small window which pops up and displays a series of choices.
`class` | `JRadioButtonMenuItem` An implementation of a RadioButtonMenuItem.

Methods in javax.swing that return MenuElement
`MenuElement[]` | `MenuElement.getSubElements()` This method should return an array containing the sub-elements for the receiving menu element
`MenuElement[]` | `MenuSelectionManager.getSelectedPath()` Returns the path to the currently selected menu item
`MenuElement[]` | `JMenuItem.getSubElements()` This method returns an array containing the sub-menu components for this menu component.
`MenuElement[]` | `JMenuBar.getSubElements()` Implemented to be a MenuElement -- returns the menus in this menu bar.
`MenuElement[]` | `JPopupMenu.getSubElements()`
`MenuElement[]` | `JMenu.getSubElements()` Returns an array containing the sub-menu components for this menu component

Methods in javax.swing with parameters of type MenuElement
`void` | `MenuElement.processMouseEvent(java.awt.event.MouseEvent event, MenuElement[] path, MenuSelectionManager manager)` Process a mouse event.
`void` | `MenuElement.processKeyEvent(java.awt.event.KeyEvent event, MenuElement[] path, MenuSelectionManager manager)` Process a key event.
`void` | `MenuSelectionManager.setSelectedPath(MenuElement[] path)` Change the selection in the menu hierarchy.
`void` | `JMenuItem.processMouseEvent(java.awt.event.MouseEvent e, MenuElement[] path, MenuSelectionManager manager)` Process a mouse event forwarded from the MenuSelectionManager.
`void` | `JMenuItem.processKeyEvent(java.awt.event.KeyEvent e, MenuElement[] path, MenuSelectionManager manager)` Process a key event forwarded from the MenuSelectionManager.
`void` | `JMenuBar.processMouseEvent(java.awt.event.MouseEvent event, MenuElement[] path, MenuSelectionManager manager)` Implemented to be a MenuElement -- does nothing.
`void` | `JMenuBar.processKeyEvent(java.awt.event.KeyEvent e, MenuElement[] path, MenuSelectionManager manager)` Implemented to be a MenuElement -- does nothing.
`void` | `JPopupMenu.processMouseEvent(java.awt.event.MouseEvent event, MenuElement[] path, MenuSelectionManager manager)`
`void` | `JPopupMenu.processKeyEvent(java.awt.event.KeyEvent e, MenuElement[] path, MenuSelectionManager manager)`

Uses of MenuElement in javax.swing.event

Methods in javax.swing.event that return MenuElement
`MenuElement[]` | `MenuKeyEvent.getPath()` Returns the path to the menu item referenced by this event.
`MenuElement[]` | `MenuDragMouseEvent.getPath()` Returns the path to the selected menu item.

Constructors in javax.swing.event with parameters of type MenuElement
`MenuKeyEvent.MenuKeyEvent(java.awt.Component source, int id, long when, int modifiers, int keyCode, char keyChar, MenuElement[] p, MenuSelectionManager m)` Constructs a MenuKeyEvent object.
`MenuDragMouseEvent.MenuDragMouseEvent(java.awt.Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, MenuElement[] p, MenuSelectionManager m)` Constructs a MenuDragMouseEvent object.

Uses of MenuElement in javax.swing.plaf.basic

Classes in javax.swing.plaf.basic that implement MenuElement
`class` | `BasicComboPopup` This is an implementation of the ComboPopup interface.
`class` | `BasicInternalFrameTitlePane.SystemMenuBar` This inner class is marked "public" due to a compiler bug.

Methods in javax.swing.plaf.basic that return MenuElement
`MenuElement[]` | `BasicMenuItemUI.getPath()`

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

Uses of MenuElement in javax.swing.plaf.metal

Classes in javax.swing.plaf.metal that implement MenuElement
`class` | `MetalComboBoxUI.MetalComboPopup` This inner class is marked "public" due to a compiler bug.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Swing 1.1
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
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.