[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] classpath ChangeLog java/awt/Component.java jav...
From: |
Roman Kennke |
Subject: |
[commit-cp] classpath ChangeLog java/awt/Component.java jav... |
Date: |
Fri, 22 Sep 2006 12:27:12 +0000 |
CVSROOT: /cvsroot/classpath
Module name: classpath
Changes by: Roman Kennke <rabbit78> 06/09/22 12:27:11
Modified files:
. : ChangeLog
java/awt : Component.java Container.java
LightweightDispatcher.java
Log message:
2006-09-22 Roman Kennke <address@hidden>
* java/awt/Component.java
(enableEvents): Set newEventsOnly flag.
* java/awt/Container.java
(dispatchEventImpl): Consume event if lightweight dispatcher
dispatched the event. Don't call processEvent() here, this
is already done in Component.dispatchEventImpl(). For
heavyweights or when the lightweight dispatcher could
not dispatch, fall back to calling super.
(dispatchNoLightweight): New helper method to avoid
recursivly calling the lightweight dispatcher.
* java/awt/LightweightDispatcher.java
(dragButton): Removed field.
(dragTarget): Removed field.
(mouseEventTarget): New field.
(convertPointToChild): Removed method.
(dispatchEvent): Don't depend on component beeing
a window.
(findTarget): Improved algorithm for finding a target.
Before we went down to the deepest component and went
up again to find a suitable target. Now we go
down only once, without going up.
(handleMouseEvent): Broke method down into some smaller
helper methods.
(isDragging): New helper method.
(isMouseListening): New helper method.
(redispatch): New helper method.
(trackEnterExit): New helper method.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8593&r2=1.8594
http://cvs.savannah.gnu.org/viewcvs/classpath/java/awt/Component.java?cvsroot=classpath&r1=1.148&r2=1.149
http://cvs.savannah.gnu.org/viewcvs/classpath/java/awt/Container.java?cvsroot=classpath&r1=1.107&r2=1.108
http://cvs.savannah.gnu.org/viewcvs/classpath/java/awt/LightweightDispatcher.java?cvsroot=classpath&r1=1.15&r2=1.16
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [commit-cp] classpath ChangeLog java/awt/Component.java jav...,
Roman Kennke <=