commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] classpath javax/swing/text/html/ImageView.java ...


From: Roman Kennke
Subject: [commit-cp] classpath javax/swing/text/html/ImageView.java ...
Date: Wed, 15 Nov 2006 22:41:21 +0000

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Changes by:     Roman Kennke <rabbit78> 06/11/15 22:41:21

Modified files:
        javax/swing/text/html: ImageView.java 
        .              : ChangeLog 

Log message:
        2006-11-15  Roman Kennke  <address@hidden>
        
                * javax/swing/text/html/ImageView.java
                (Observer): New class. Observes image loading.
                (haveHeight): New field.
                (haveWidth): New field.
                (height): New field.
                (width): New field.
                (image): New field.
                (imageIcon): New field.
                (loading): New field.
                (observer): New field.
                (reloadImage): New field.
                (reloadProperties): New field.
                (ImageView): Initialize observer and some flags.
                (getImage): Update the image state and return the image.
                (loadImage): New helper method. Actually starts loading.
                (paint): Rewritten to paint the image directly, not via Icon.
                (reloadImage): Rewritten. Loads the image and its properties.
                (renderIcon): Removed. No more necessary.
                (setPropertiesFromAttributes): Don't nullify image here.
                Added comment about missing impl.
                (setSize): Added comment about missing impl.
                (updateSize): New helper method. Updates the size attributes.
                (updateState): New helper method. Makes sure the image
                and its properties are valid.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/text/html/ImageView.java?cvsroot=classpath&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8803&r2=1.8804




reply via email to

[Prev in Thread] Current Thread [Next in Thread]