[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] classpath/javax/swing/plaf/basic BasicPopupMenu...
From: |
Roman Kennke |
Subject: |
[commit-cp] classpath/javax/swing/plaf/basic BasicPopupMenu... |
Date: |
Tue, 25 Jul 2006 22:52:53 +0000 |
CVSROOT: /cvsroot/classpath
Module name: classpath
Changes by: Roman Kennke <rabbit78> 06/07/25 22:52:53
Modified files:
javax/swing/plaf/basic: BasicPopupMenuUI.java
. : ChangeLog
Log message:
2006-07-25 Roman Kennke <address@hidden>
* javax/swing/plaf/basic/BasicPopupMenuUI.java
(NavigateAction): New inner class. This is responsible for
keyboard navigation through menus.
(KeyboardHelper): New inner class. This manages the
keyboard mappings and focus when a popup opens or closes.
(keyboardHelper): New static field.
(numPopups): New static field.
(installUI): Create KeyboardHelper for first popup.
Call installKeyboardActions().
(installKeyboardActions): Removed NotImplementedException.
This method is a no-op.
(installKeyboardActionsImpl): New method. Installs keyboard
mapping when a popup is opened.
(getActionMap): New helper method.
(createDefaultActions): New helper method.
(uninstallUI): Uninstall KeyboardHelper when last Popup is
uninstalled. Call uninstallKeyboardActions().
(uninstallKeyboardActions): Removed NotImplementedException.
This method is a no-op.
(uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
mapping when a popup is closed.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicPopupMenuUI.java?cvsroot=classpath&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8215&r2=1.8216
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [commit-cp] classpath/javax/swing/plaf/basic BasicPopupMenu...,
Roman Kennke <=