Package Summary Overview Summary

### class:MenuSelectionManager [NONE]
-     public class MenuSelectionManager
      extends Object
A MenuSelectionManager owns the selection in menu hierarchy. Since: 1.2

### field:changeEvent [NONE]
- #### changeEvent
      protected transient ChangeEvent changeEvent
Only one ChangeEvent is needed per button model instance since the event's only state is the source property. The source of events generated is always "this".

### field:listenerList [NONE]
- #### listenerList
      protected EventListenerList listenerList
The collection of registered listeners

### constructor:MenuSelectionManager() [NONE]
- #### MenuSelectionManager
      public MenuSelectionManager()

### method:defaultManager() [NONE]
- #### defaultManager
      public static MenuSelectionManager defaultManager()
Returns the default menu selection manager. Returns: a MenuSelectionManager object

### method:setSelectedPath(javax.swing.MenuElement[]) [NONE]
- #### setSelectedPath
      public void setSelectedPath(MenuElement[] path)
Changes the selection in the menu hierarchy. The elements in the array are sorted in order from the root menu element to the currently selected menu element. Note that this method is public but is used by the look and feel engine and should not be called by client applications. Parameters: `path` - an array of `MenuElement` objects specifying the selected path

### method:getSelectedPath() [NONE]
- #### getSelectedPath
      public MenuElement[] getSelectedPath()
Returns the path to the currently selected menu item Returns: an array of MenuElement objects representing the selected path

### method:clearSelectedPath() [NONE]
- #### clearSelectedPath
      public void clearSelectedPath()
Tell the menu selection to close and unselect all the menu components. Call this method when a choice has been made

### method:addChangeListener(javax.swing.event.ChangeListener) [NONE]
- #### addChangeListener
      public void addChangeListener(ChangeListener l)
Adds a ChangeListener to the button. Parameters: `l` - the listener to add

### method:removeChangeListener(javax.swing.event.ChangeListener) [NONE]
- #### removeChangeListener
      public void removeChangeListener(ChangeListener l)
Removes a ChangeListener from the button. Parameters: `l` - the listener to remove

### method:getChangeListeners() [NONE]
- #### getChangeListeners
      public ChangeListener[] getChangeListeners()
Returns an array of all the `ChangeListener`s added to this MenuSelectionManager with addChangeListener(). Returns: all of the `ChangeListener`s added or an empty array if no listeners have been added Since: 1.4

### method:fireStateChanged() [NONE]
- #### fireStateChanged
      protected void fireStateChanged()
Notifies all listeners that have registered interest for notification on this event type. The event instance is created lazily. See Also: `EventListenerList`

### method:processMouseEvent(java.awt.event.MouseEvent) [NONE]
- #### processMouseEvent
      public void processMouseEvent(MouseEvent event)
When a MenuElement receives an event from a MouseListener, it should never process the event directly. Instead all MenuElements should call this method with the event. Parameters: `event` - a MouseEvent object

### method:componentForPoint(java.awt.Component, java.awt.Point) [NONE]
- #### componentForPoint
      public Component componentForPoint(Component source,
                                         Point sourcePoint)
Returns the component in the currently selected path which contains sourcePoint. Parameters: `source` - The component in whose coordinate space sourcePoint is given `sourcePoint` - The point which is being tested Returns: The component in the currently selected path which contains sourcePoint (relative to the source component's coordinate space. If sourcePoint is not inside a component on the currently selected path, null is returned.

### method:processKeyEvent(java.awt.event.KeyEvent) [NONE]
- #### processKeyEvent
      public void processKeyEvent(KeyEvent e)
When a MenuElement receives an event from a KeyListener, it should never process the event directly. Instead all MenuElements should call this method with the event. Parameters: `e` - a KeyEvent object

### method:isComponentPartOfCurrentMenu(java.awt.Component) [NONE]
- #### isComponentPartOfCurrentMenu
      public boolean isComponentPartOfCurrentMenu(Component c)
Return true if `c` is part of the currently used menu Parameters: `c` - a `Component` Returns: true if `c` is part of the currently used menu, false otherwise