Java javax.swing MenuSelectionManager fields, constructors, methods, implement or subclass

Example usage for Java javax.swing MenuSelectionManager fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.swing MenuSelectionManager.

The text is from its open source code.

Method

voidaddChangeListener(ChangeListener l)
Adds a ChangeListener to the button.
voidclearSelectedPath()
Tell the menu selection to close and unselect all the menu components.
MenuSelectionManagerdefaultManager()
Returns the default menu selection manager.
MenuElement[]getSelectedPath()
Returns the path to the currently selected menu item
voidprocessMouseEvent(MouseEvent event)
When a MenuElement receives an event from a MouseListener, it should never process the event directly.
voidsetSelectedPath(MenuElement[] path)
Changes the selection in the menu hierarchy.