|
Java Platform 1.2 Beta 4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MenuElement | |
com.sun.java.swing | Provides a set of "lightweight" (all-Java |
com.sun.java.swing.event | Provides for events fired by Swing components. |
Uses of MenuElement in com.sun.java.swing |
Classes in com.sun.java.swing that implement MenuElement | |
JCheckBoxMenuItem
A menu item that can be selected or deselected. |
|
JMenu
An implementation of a menu -- a popup window containing JMenuItem s that
is displayed when the user selects an item on the JMenuBar . |
|
JMenuBar
An implementation of a MenuBar. |
|
JMenuItem
An implementation of a MenuItem. |
|
JPopupMenu
An implementation of a Popup Menu -- a small window which pops up and displays a series of choices. |
|
JRadioButtonMenuItem
An implementation of a RadioButtonMenuItem. |
Methods in com.sun.java.swing that return MenuElement | |
MenuElement[] | JMenuItem.getSubElements()
This method returns an array containing the sub-menu components for this menu component. |
MenuElement[] | JMenu.getSubElements()
This method should return an array containing the sub-menu components for this menu component |
MenuElement[] | MenuSelectionManager.getSelectedPath()
|
MenuElement[] | JPopupMenu.getSubElements()
|
MenuElement[] | JMenuBar.getSubElements()
Implemented to be a MenuElement -- returns the menus in this menu bar. |
MenuElement[] | MenuElement.getSubElements()
This method should return an array containing the sub-elements for the receiving menu element |
Methods in com.sun.java.swing with parameters of type MenuElement | |
void | JMenuItem.processMouseEvent(MouseEvent e,
MenuElement[] path,
MenuSelectionManager manager)
Process a mouse event forwarded from the MenuSelectionManager. |
void | JMenuItem.processKeyEvent(KeyEvent e,
MenuElement[] path,
MenuSelectionManager manager)
Process a key event forwarded from the MenuSelectionManager. |
void | MenuSelectionManager.setSelectedPath(MenuElement[] path)
|
void | JPopupMenu.processMouseEvent(MouseEvent event,
MenuElement[] path,
MenuSelectionManager manager)
|
void | JPopupMenu.processKeyEvent(KeyEvent e,
MenuElement[] path,
MenuSelectionManager manager)
|
void | JMenuBar.processMouseEvent(MouseEvent event,
MenuElement[] path,
MenuSelectionManager manager)
Implemented to be a MenuElement -- does nothing. |
void | JMenuBar.processKeyEvent(KeyEvent e,
MenuElement[] path,
MenuSelectionManager manager)
Implemented to be a MenuElement -- does nothing. |
void | MenuElement.processMouseEvent(MouseEvent event,
MenuElement[] path,
MenuSelectionManager manager)
Process a mouse event. event is a MouseEvent with source being the receiving element's component. path is the path of the receiving element in the menu hierarchy including the receiving element itself. manager is the MenuSelectionManager for the menu hierarchy. |
void | MenuElement.processKeyEvent(KeyEvent event,
MenuElement[] path,
MenuSelectionManager manager)
Process a key event. |
Uses of MenuElement in com.sun.java.swing.event |
Methods in com.sun.java.swing.event that return MenuElement | |
MenuElement[] | MenuKeyEvent.getPath()
|
MenuElement[] | MenuDragMouseEvent.getPath()
|
Constructors in com.sun.java.swing.event with parameters of type MenuElement | |
MenuKeyEvent.MenuKeyEvent(Component source,
int id,
long when,
int modifiers,
int keyCode,
char keyChar,
MenuElement[] p,
MenuSelectionManager m)
|
|
MenuDragMouseEvent.MenuDragMouseEvent(Component source,
int id,
long when,
int modifiers,
int x,
int y,
int clickCount,
boolean popupTrigger,
MenuElement[] p,
MenuSelectionManager m)
|
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |