[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: Additions to BasicListUI
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: Additions to BasicListUI |
Date: |
Fri, 23 Sep 2005 15:18:23 +0200 (CEST) |
User-agent: |
SquirrelMail/1.4.4 |
I added the missing fields and methods to BasicListUI. These are a bunch
of hook methods to create listeners and some constants used for the
storing state changes of the JList.
2005-09-23 Roman Kennke <address@hidden>
* javax/swing/plaf/basic/BasicListUI.java
(FocusHandler.repaintCellFocus): Marked protected instead of
package private as specified.
(KeyHandler.keyPressed): Call new methods selectNextIndex and
selectPreviousIndex instead of doing the work here.
(PropertyChangeHandler.propertyChange): Update the
updateLayoutStateNeeded field correctly.
(BasicListUI): Removed listener initialization. Moved this
to installListeners.
(installListeners): Initialize listeners here instead in the
constructor. Use the createXXXListener hooks instead of creating
the listeners directly.
(createFocusListener): New hook method for creating a focus listener.
(createListDataListener): New hook method for creating a list
data listener.
(createListSelectionListener): New hook method for creating a list
selection listener.
(createMouseInputListener): New hook method for creating a mouse
input listener.
(createPropertyChangeListener): New hook method for creating a
property change listener.
/Roman
BasicListUI.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: Additions to BasicListUI,
Roman Kennke <=