On 4 mai, 14:07, Ed <[email protected]> wrote:
> Hmmmm, tanx Paul,
>
> I still think this is rather cumberslum to retrieve the element.
> I am currious what the idea behind this all is? and why the element
> isn't simple contained in the event and can be retrieves by a simple
> getter?

Because the EventTarget could possibly be the Window or Document.

...or eventually an XMLHttpRequest, a Storage object (localStorage/
sessionStorage), a WorkerGlobalScope (web workers), an
ApplicationCache (offline support), etc.

com.google.gwt.dom.client.EventTarget just models the W3C DOM Events'
EventTarget (minus its specific methods...)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to