Suppose I'm writing a widget and I want to havdle different types of
events associated with it. I might be translating David Maddison's
HtmlList class to GWT 1.7.1, for example. That class is a composite
that wraps an HTML <ol> or <ul>, allows the programmer to give an
action to be executed when the user clicks on a list item, and changes
the CSS style when the user mouses over each item.

David's original implementation uses onBrowserEvent and the sinkEvents
method.  It is possible to do the ame thing using ClickHandlers and
Mouse(Over|Out)Handlers. Which technique is more idiomatic?

Respectfully,
Eric Jablow

--

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