On 25 sep, 21:35, Alexey <[email protected]> wrote:
> Thanks, this clarifies things, except I have one point of contention,
> likely having no bearing on the original question:
>
> On Sep 25, 2:32 pm, Thomas Broyer <[email protected]> wrote:
>
> > 1. the actual JS function registered as an handler is the same for all
> > events
>
> Unless I misunderstood, this can't be true for cases involving
> anonymous inner classes that refer to final variables inside the
> method and/or internal state:
I don't know what these cases are compiled to (didn't ever bother
looking at), what I said is that the JS handler for an event is the
same for all elements. See for example the "standards" sinkEvents
implementation:
http://code.google.com/p/google-web-toolkit/source/browse/releases/1.7/user/src/com/google/gwt/user/client/impl/DOMImplStandard.java#198
For completeness, my #2 in my previous message can be seen at:
http://code.google.com/p/google-web-toolkit/source/browse/releases/1.7/user/src/com/google/gwt/user/client/impl/DOMImpl.java#120
and
http://code.google.com/p/google-web-toolkit/source/browse/releases/1.7/user/src/com/google/gwt/user/client/ui/Widget.java#244
And #3 at:
http://code.google.com/p/google-web-toolkit/source/browse/releases/1.7/user/src/com/google/gwt/user/client/ui/Widget.java#158
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---