Hellu,

I am trying to get a better understanding of the event bubbling and
canceling an event:
1) Does all gwt events bubble up? even if the parent itself doesn't
support the gwt event? So a Panel should receive the focus event of
contained textbox?

2)  Suppose I have panel with a textbox and I am the only one that add
a listener to the textbox. Is it safe and better to call
event.stopPropagation() in the listener in this case?
With safe I mean; does anybody else might need the event, like for
example the KeyUpEvent, that I cancel? (maybe the (root) browser-
display itself .......
Any idea about the  performance difference if you have "many" widgets
in case you cancel the event?

-- Ed

--~--~---------~--~----~------------~-------~--~----~
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