diff options
| author | Roman Kennke <roman@kennke.org> | 2006-08-23 22:03:22 +0000 |
|---|---|---|
| committer | Roman Kennke <roman@kennke.org> | 2006-08-23 22:03:22 +0000 |
| commit | 16cbf77124e2ee77b17ff95816777f805c61d511 (patch) | |
| tree | 32b5fb0384cd12a08a2b9ad9ffe5b4b3f42c687b /java/lang/ref/ReferenceQueue.java | |
| parent | 5586796c5ca3abc7f1248682f61700f983a8601b (diff) | |
| download | classpath-16cbf77124e2ee77b17ff95816777f805c61d511.tar.gz | |
2006-08-23 Roman Kennke <kennke@aicas.com>
* 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.
Diffstat (limited to 'java/lang/ref/ReferenceQueue.java')
0 files changed, 0 insertions, 0 deletions
