CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Roman Kennke <[EMAIL PROTECTED]>        05/07/21 12:07:07

Modified files:
        .              : ChangeLog 
        javax/swing    : AbstractButton.java 
        javax/swing/plaf/basic: BasicIconFactory.java 
                                BasicLookAndFeel.java 
                                BasicRadioButtonUI.java 
        javax/swing/plaf/metal: MetalCheckBoxIcon.java 
                                MetalIconFactory.java 
                                MetalLookAndFeel.java 

Log message:
        2005-07-21  Roman Kennke  <[EMAIL PROTECTED]>
        
        * javax/swing/AbstractButton.java
        (init): Only set icon if the supplied icon is not null. Otherwise
        we would override icons that are possibly set by the UI.
        * javax/swing/plaf/basic/BasicIconFactory.java
        (CheckBoxIcon): An new Icon implementation used for CheckBoxes
        in the Basic L&F.
        (RadioButtonIcon): An new Icon implementation used for
        RadioButtons in the Basic L&F.
        (getCheckBoxIcon): Now returns a (cached) instance of CheckBoxIcon
        instead of the (wrong) inner icon implementation.
        (getRadioButtonIcon): Now returns a (cached) instance of
        RadioButtonIcon instead of the (wrong) inner icon implementation.
        * javax/swing/plaf/basic/BasicLookAndFeel.java
        (initComponentDefaults): Registered new icons for CheckBox and
        RadioButton, using a LazyValue entry.
        * javax/swing/plaf/basic/BasicRadioButtonUI.java
        Added API documentation all over.
        (installUI): Removed this method.
        (installDefaults): New method. Installs the default icons if there
        is no other icon set.
        (getPropertyPrefix): New method. Returns the prefix that is used
        to look up UIDefault entries.
        (getDefaultIcon): Use propertyPrefix instead of hardcoded property.
        (paint): New method. Override paint for customized painting
        of RadioButtons.
        * javax/swing/plaf/metal/MetalCheckBoxIcon.java
        (drawCheck): Respect the x and y parameter.
        * javax/swing/plaf/metal/MetalIconFactory.java
        (RadioButtonIcon): An Icon implementation for Metal RadioButtons.
        (getRadioButtonIcon): New method. Returns a shared instance of
        RadioButtonIcon.
        * javax/swing/plaf/metal/MetalLookAndFeel.java
        (initComponentDefaults): Register new icons for CheckBox and
        RadioButton using a LazyValue entry.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.4172&tr2=1.4173&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/AbstractButton.java.diff?tr1=1.40&tr2=1.41&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicIconFactory.java.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicLookAndFeel.java.diff?tr1=1.38&tr2=1.39&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicRadioButtonUI.java.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/metal/MetalCheckBoxIcon.java.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/metal/MetalIconFactory.java.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/metal/MetalLookAndFeel.java.diff?tr1=1.29&tr2=1.30&r1=text&r2=text



_______________________________________________
Commit-classpath mailing list
Commit-classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/commit-classpath

Reply via email to