commit-classpath
[Top][All Lists]
Advanced

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

[commit-cp] classpath javax/swing/JComponent.java javax/swi...


From: Roman Kennke
Subject: [commit-cp] classpath javax/swing/JComponent.java javax/swi...
Date: Wed, 23 Aug 2006 22:03:25 +0000

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Changes by:     Roman Kennke <rabbit78> 06/08/23 22:03:25

Modified files:
        javax/swing    : JComponent.java JMenuItem.java JPopupMenu.java 
                         JToolTip.java JViewport.java 
                         RepaintManager.java 
        .              : ChangeLog 

Log message:
        2006-08-23  Roman Kennke  <address@hidden>
        
                * javax/swing/JComponent.java
                (isRepainting): Made package private.
                (paintChild): New field.
                (findOpaqueParent): Removed method. This is now in
                paintImmediately().
                (findOverlapFreeParent): Removed method. This is now
                in paintImmediately2().
                (findPaintRoot): Removed method. This is now
                in paintImmediately2().
                (isCompletelyObscured): Changed to take rectangle as single
                ints as argument.
                (isPaintingDoubleBuffered): Removed method. This is now
                in paintImmediately2().
                (isPartiallyObscured): New helper method.
                (onTop): New helper method for optimization.
                (paintChildren): Paint only to specific child when
                requested like this from paintImmediately2().
                (paintDoubleBuffered): Changed to take rectangle as single int
                arguments.
                (paintImmediately2): Changed to take rectangle as single int
                arguments. Optimized determination of paint root.
                (paintImmediately(Rectangle)): Change to delegate to
                paintImmediately(int,int,int,int).
                (paintImmediately(int,int,int,int)): Look for opaque ancestor
                and start painting there.
                (paint): Call paintDoubleBuffered() with int arguments. Only
                paint component, when not completely occupied by opaque child.
                (processKeyBinding): Removed unnecessary cast.
                (isOccupiedByChild): New helper method.
                * javax/swing/RepaintManager.java
                (repaintUnderway): Removed obsolete field.
                (commitRequests): Removed obsolete field.
                (RepaintManager): Removed initialization of obsolete fields.
                (addDirtyRegion): Removed unused statement.
                (commitBuffer): Changed to take plain ints as argument.
                (compileRepaintRoots): Optimized to avoid use of Rectangle.
                Compute offsets in place, rather than using SwingUtilities.
                (paintDirtyRegions): Removed unused field.
                * javax/swing/JMenuItem.java
                (onTop): Return true when not descendant of JInternalFrame.
                * javax/swing/JPopupMenu.java
                (onTop): Return true.
                * javax/swing/JToolTip.java
                (onTop): Return true.
                * javax/swing/JViewport.java
                (paintImmediately2): Change signature to match the
                corresponding JComponent method.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/JComponent.java?cvsroot=classpath&r1=1.144&r2=1.145
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/JMenuItem.java?cvsroot=classpath&r1=1.32&r2=1.33
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/JPopupMenu.java?cvsroot=classpath&r1=1.38&r2=1.39
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/JToolTip.java?cvsroot=classpath&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/JViewport.java?cvsroot=classpath&r1=1.46&r2=1.47
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/RepaintManager.java?cvsroot=classpath&r1=1.44&r2=1.45
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8444&r2=1.8445




reply via email to

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