[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] classpath javax/swing/plaf/basic/BasicProgressB...
From: |
Roman Kennke |
Subject: |
[commit-cp] classpath javax/swing/plaf/basic/BasicProgressB... |
Date: |
Mon, 14 Nov 2005 06:07:36 -0500 |
CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Roman Kennke <address@hidden> 05/11/14 11:07:36
Modified files:
javax/swing/plaf/basic: BasicProgressBarUI.java
javax/swing/plaf/metal: MetalProgressBarUI.java
. : ChangeLog
Log message:
2005-11-14 Roman Kennke <address@hidden>
* javax/swing/plaf/basic/BasicProgressBarUI.java
(boxRect): New protected field.
(PropertyChangeHandler.propertyChange): Fixed typo in 'indeterminate'.
Only start animation when progressBar is actually showing. Removed
repaint call.
(AncestorHandler): New inner class. Helps starting/stopping the
animation when progressBar becomes showing/hidden.
(ComponentHandler): New inner class. Recalculates box sizes for
indeterminate progress bars when the size of the progress bar
changes.
(boxRect): New protected field.
(boxDependent): New transient field.
(boxIndependent): New transient field.
(incr): New transient field.
(ancestorListener): New private field.
(componentListener): New private field.
(getBox): Fixed calculation of the indeterminate progress bar box
to match the JDK behaviour.
(getMaximumSize): Implemented the maximumSize for progressBars.
(getMinimumSize): Implemented the minimumSize for progressBars.
(getPreferredInnerHorizontal): Implemented correctly.
(getPreferredInnerVertical): Implemented correctly.
(getPreferredSize): Implemented correctly using the getPreferredXXX()
helper methods.
(paintDeterminate): Fixed painting to better match the JDK behaviour.
(paintIndeterminate): Fixed painting to better match the JDK behaviour.
(paintString): Implemented 'half-dark-half-light' painted text.
(installListeners): Install new listeners.
(uninstallListeners): Uninstall new listeners.
* javax/swing/plaf/basic/MetalProgressBarUI.java
(paintDeterminate): New method.
(paintIndeterminate): New method.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicProgressBarUI.java.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/metal/MetalProgressBarUI.java.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5570&tr2=1.5571&r1=text&r2=text
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [commit-cp] classpath javax/swing/plaf/basic/BasicProgressB...,
Roman Kennke <=