Yea, any panel can implement ClickHandlers, just do a addDomHandler(handler, 
ClickEvent.getType());

that sinks the event as well as adds the handler to the panel. I hadn't 
looked at the source in a while, so I figured it was still the 
sinkEvents(Event.CLICK | Event.FOCUS ....) thing, but they've pulled that 
out and now that logic exists in the addDomHandler method. 

You should just be able to do layoutPanel.addDomHandler(new ClickHandler(){ 
... }, ClickEvent.getType());


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/EE-T64cVjF4J.
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