1 |
|
2005-11-14 Anthony Balkissoon <abalkiss@redhat.com> |
2 |
|
|
3 |
|
* javax/swing/ActionMap.java: |
4 |
|
(keys): Return null if the map is empty. |
5 |
|
(allKeys): Likewise. |
6 |
|
* javax/swing/InputMap.java: |
7 |
|
(keys): Return null if the map is empty. |
8 |
|
(allKeys): Likewise. |
9 |
|
* javax/swing/JMenuBar: |
10 |
|
(addNotify): Register the menu with the KeyboardManager. |
11 |
|
(processKeyBinding): New API method. |
12 |
|
(processKeyBindingHelper): New implementation method. |
13 |
|
* javax/swing/JMenuItem.java: |
14 |
|
(setAccelerator): Fire a PropertyChangeEvent after changing the |
15 |
|
accelerator. |
16 |
|
* javax/swing/KeyboardManager.java: |
17 |
|
(menuBarLookup): New field, Hashtable mapping between top-level |
18 |
|
containers and a Vector of the JMenuBars contained in them. |
19 |
|
(getHashtableForTopLevel): Changed this public method to package |
20 |
|
private. |
21 |
|
(registerEntireMap): Avoid NPE by returning early if the parameter |
22 |
|
is null or contains no mappings. |
23 |
|
(processKeyStroke): If the mapped component doesn't consume the event, |
24 |
|
let all JMenuBars in the top-level container have a chance at it. |
25 |
|
(getVectorForTopLevel): New implementation method. |
26 |
|
(registerJMenuBar): Likewise. |
27 |
|
* javax/swing/plaf/basic/BasicMenuItemUI.java: |
28 |
|
(propertyChangeListener): New field. |
29 |
|
(PropertyChangeHandler): New class to handle PropertyChangeEvents on |
30 |
|
the JMenuItem. |
31 |
|
(ClickAction): New class to implement accelerator key handling. |
32 |
|
(BasicMenuItemUI<init>): Instantiate the propertyChangeListener field. |
33 |
|
(installKeyboardActions): Implemented. |
34 |
|
(installListeners): Install the propertyChangeListener. |
35 |
|
(installUI): Call installKeyboardAcions after installing the listeners. |
36 |
|
(uninstallKeyboardActions): Implemented. |
37 |
|
(uninstallListeners): Remove the propertyChangeListener. |
38 |
|
|
39 |
2005-11-14 Tom Tromey <tromey@redhat.com> |
2005-11-14 Tom Tromey <tromey@redhat.com> |
40 |
|
|
41 |
* java/applet/Applet.java (URLAudioClip): New class. |
* java/applet/Applet.java (URLAudioClip): New class. |