1 |
2005-11-14 Roman Kennke <kennke@aicas.com> |
2005-11-14 Roman Kennke <kennke@aicas.com> |
2 |
|
|
3 |
|
* javax/swing/plaf/basic/BasicProgressBarUI.java |
4 |
|
(boxRect): New protected field. |
5 |
|
(PropertyChangeHandler.propertyChange): Fixed typo in 'indeterminate'. |
6 |
|
Only start animation when progressBar is actually showing. Removed |
7 |
|
repaint call. |
8 |
|
(AncestorHandler): New inner class. Helps starting/stopping the |
9 |
|
animation when progressBar becomes showing/hidden. |
10 |
|
(ComponentHandler): New inner class. Recalculates box sizes for |
11 |
|
indeterminate progress bars when the size of the progress bar |
12 |
|
changes. |
13 |
|
(boxRect): New protected field. |
14 |
|
(boxDependent): New transient field. |
15 |
|
(boxIndependent): New transient field. |
16 |
|
(incr): New transient field. |
17 |
|
(ancestorListener): New private field. |
18 |
|
(componentListener): New private field. |
19 |
|
(getBox): Fixed calculation of the indeterminate progress bar box |
20 |
|
to match the JDK behaviour. |
21 |
|
(getMaximumSize): Implemented the maximumSize for progressBars. |
22 |
|
(getMinimumSize): Implemented the minimumSize for progressBars. |
23 |
|
(getPreferredInnerHorizontal): Implemented correctly. |
24 |
|
(getPreferredInnerVertical): Implemented correctly. |
25 |
|
(getPreferredSize): Implemented correctly using the getPreferredXXX() |
26 |
|
helper methods. |
27 |
|
(paintDeterminate): Fixed painting to better match the JDK behaviour. |
28 |
|
(paintIndeterminate): Fixed painting to better match the JDK behaviour. |
29 |
|
(paintString): Implemented 'half-dark-half-light' painted text. |
30 |
|
(installListeners): Install new listeners. |
31 |
|
(uninstallListeners): Uninstall new listeners. |
32 |
|
* javax/swing/plaf/basic/MetalProgressBarUI.java |
33 |
|
(paintDeterminate): New method. |
34 |
|
(paintIndeterminate): New method. |
35 |
|
|
36 |
|
2005-11-14 Roman Kennke <kennke@aicas.com> |
37 |
|
|
38 |
* examples/gnu/classpath/examples/swing/Demo.java |
* examples/gnu/classpath/examples/swing/Demo.java |
39 |
(static_initializer): Set the L&F and theme explicitly for the |
(static_initializer): Set the L&F and theme explicitly for the |
40 |
default option, because JDK1.4 and JDK1.5 have different defaults. |
default option, because JDK1.4 and JDK1.5 have different defaults. |