Example usage for Java javax.swing MenuSelectionManager fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addChangeListener(ChangeListener l) Adds a ChangeListener to the button. |
void | clearSelectedPath() Tell the menu selection to close and unselect all the menu components. |
MenuSelectionManager | defaultManager() Returns the default menu selection manager. |
MenuElement[] | getSelectedPath() Returns the path to the currently selected menu item |
void | processMouseEvent(MouseEvent event) When a MenuElement receives an event from a MouseListener, it should never process the event directly. |
void | setSelectedPath(MenuElement[] path) Changes the selection in the menu hierarchy. |