1 |
|
2005-10-18 Anthony Balkissoon <abalkiss@redhat.com> |
2 |
|
|
3 |
|
* javax/swing/DefaultListSelectionModel.java: |
4 |
|
(setLeadSelectionIndex): Avoid index out of bounds error on initial |
5 |
|
call of this method by checking explicitly for oldLeadIndex being -1. |
6 |
|
Also remove unused BitSet newRange and oldRange. |
7 |
|
(moveLeadSelectionIndex): New API method implemented (@since 1.5). |
8 |
|
* javax/swing/plaf/basic/BasicListUI.java: |
9 |
|
(ListAction.actionPerformed): Make code more readable by declaring |
10 |
|
local variables for the actionCommand and for the list's |
11 |
|
selectionModel. Implemented the following bindings: |
12 |
|
selectLastRowChangeLead, scrollDownChangeLead, scrollUpChangeLead, |
13 |
|
selectFirstRowChangeLead, selectNextRowChangeLead, |
14 |
|
selectPreviousRowChangeLead, addToSelection, toggleAndAnchor, |
15 |
|
extendTo. |
16 |
|
(MouseInputHandler.mousePressed): Made code more readable by removing |
17 |
|
unnecessary full qualification from variable 'list'. Change |
18 |
|
behaviour of shift-click based on whether or not the anchor index is |
19 |
|
selected. |
20 |
|
* javax/swing/plaf/basic/BasicLookAndFeel.java: |
21 |
|
(initComponentDefaults): Added remaining bindings for |
22 |
|
Table.ancestorMap. |
23 |
|
* javax/swing/plaf/basic/BasicTableUI.java: |
24 |
|
(TableAction.actionPerformed): Made type of variables rowModel and |
25 |
|
colModel more specific to avoid many casts later on (makes code more |
26 |
|
readable). Also declare local variable to store the action command to |
27 |
|
make the code more readable. Implemented the following bindings: |
28 |
|
selectNextRowChangeLead, selectPreviousRowChangeLead, |
29 |
|
selectNextColumnChangeLead, selectPreviousColumnChangeLead, |
30 |
|
addToSelection, extendTo, toggleAndAnchor. Added commented-out debug |
31 |
|
statement to print unimplemented bindings when used. Added check for |
32 |
|
the SPACE character to make sure it doesn't stop editing. |
33 |
|
|
34 |
2005-10-18 Lillian Angel <langel@redhat.com> |
2005-10-18 Lillian Angel <langel@redhat.com> |
35 |
|
|
36 |
* javax/swing/plaf/basic/BasicTreeUI.java: |
* javax/swing/plaf/basic/BasicTreeUI.java: |