[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] classpath/javax/swing JComponent.java RepaintMa...
From: |
Roman Kennke |
Subject: |
[commit-cp] classpath/javax/swing JComponent.java RepaintMa... |
Date: |
Wed, 14 Jun 2006 11:01:27 +0000 |
CVSROOT: /cvsroot/classpath
Module name: classpath
Changes by: Roman Kennke <rabbit78> 06/06/14 11:01:27
Modified files:
javax/swing : JComponent.java RepaintManager.java
SwingUtilities.java
. : ChangeLog
Log message:
2006-06-14 Roman Kennke <address@hidden>
* javax/swing/JComponent.java
(isRepainting): New flag.
(paintImmediately2): Set isRepainting flag.
(getRoot): Removed obsolete method.
(paintDoubleBuffered): Differenciate between paint calls from
RepaintManager and from AWT refresh. Call
RepaintManager.commitBuffer with this and local coordinates.
(findOpaqueParent): Stop searching at heavyweight component.
These
are always opaque.
(paintChildrenOptimized): Don't paint heavyweight children.
These
should care for themselves.
(paintChildrenWithOverlap): Don't paint heavyweight children.
These
should care for themselves.
* javax/swing/RepaintManager.java
(getOffscreenBuffer): Associate offscreen buffer with toplevel
windows only.
(getVolatileOffscreenBuffer): Associate offscreen buffer with
toplevel windows only.
(getRoot): Removed obsolete method.
(commitBuffer): Blit buffer on nearest heavyweight.
(blitBuffer): New helper method.
(getHeavyweightParent): New helper method.
(commitRemainingBuffers): Call blitBuffer instead of
commitBuffer.
* javax/swing/SwingUtilities.java
(convertRectangleToAncestor): New helper method.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/JComponent.java?cvsroot=classpath&r1=1.126&r2=1.127
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/RepaintManager.java?cvsroot=classpath&r1=1.37&r2=1.38
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/SwingUtilities.java?cvsroot=classpath&r1=1.53&r2=1.54
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.7806&r2=1.7807
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/classpath/classpath/ChangeLog,v
retrieving revision 1.7806
retrieving revision 1.7807
diff -u -b -r1.7806 -r1.7807
--- ChangeLog 14 Jun 2006 09:53:35 -0000 1.7806
+++ ChangeLog 14 Jun 2006 11:01:25 -0000 1.7807
@@ -1,3 +1,31 @@
+2006-06-14 Roman Kennke <address@hidden>
+
+ * javax/swing/JComponent.java
+ (isRepainting): New flag.
+ (paintImmediately2): Set isRepainting flag.
+ (getRoot): Removed obsolete method.
+ (paintDoubleBuffered): Differenciate between paint calls from
+ RepaintManager and from AWT refresh. Call
+ RepaintManager.commitBuffer with this and local coordinates.
+ (findOpaqueParent): Stop searching at heavyweight component. These
+ are always opaque.
+ (paintChildrenOptimized): Don't paint heavyweight children. These
+ should care for themselves.
+ (paintChildrenWithOverlap): Don't paint heavyweight children. These
+ should care for themselves.
+ * javax/swing/RepaintManager.java
+ (getOffscreenBuffer): Associate offscreen buffer with toplevel
+ windows only.
+ (getVolatileOffscreenBuffer): Associate offscreen buffer with
+ toplevel windows only.
+ (getRoot): Removed obsolete method.
+ (commitBuffer): Blit buffer on nearest heavyweight.
+ (blitBuffer): New helper method.
+ (getHeavyweightParent): New helper method.
+ (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
+ * javax/swing/SwingUtilities.java
+ (convertRectangleToAncestor): New helper method.
+
2006-06-14 Raif S. Naffah <address@hidden>
* gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.