Class com.sun.java.swing.MenuSelectionManager
java.lang.Object
|
+--com.sun.java.swing.MenuSelectionManager
- public class MenuSelectionManager
- extends Object
Methods inherited from class java.lang.Object |
clone
, equals
, finalize
, getClass
, hashCode
, notify
, notifyAll
, toString
, wait
, wait
, wait
|
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".
listenerList
protected EventListenerList listenerList
defaultManager
public static MenuSelectionManager defaultManager()
setSelectedPath
public void setSelectedPath(MenuElement[] path)
getSelectedPath
public MenuElement[] getSelectedPath()
clearSelectedPath
public void clearSelectedPath()
addChangeListener
public void addChangeListener(ChangeListener l)
- Adds a ChangeListener to the button.
- Parameters:
l
- the listener to add
removeChangeListener
public void removeChangeListener(ChangeListener l)
- Removes a ChangeListener from the button.
- Parameters:
l
- the listener to remove
fireStateChanged
protected void fireStateChanged()
processMouseEvent
public void processMouseEvent(MouseEvent event)
componentForPoint
public Component componentForPoint(Component source,
Point sourcePoint)
processKeyEvent
public void processKeyEvent(KeyEvent e)
isComponentPartOfCurrentMenu
public boolean isComponentPartOfCurrentMenu(Component c)
- Return true if c is part of the currently used menu
Submit a bug or feature
Submit comments/suggestions about new javadoc look
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.
This documentation was generated with a post-Beta4 version of Javadoc.