Hi,
Is it possible to listen for a click event on a VerticalPanel? I don't
see any methods like addClickHandler() for it?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to
Hi,
Just extend VerticalPanel and implement the HasClickHandlers interface with
this widget. I hope this helps.
bye!
2009/9/8 markww mar...@gmail.com
Hi,
Is it possible to listen for a click event on a VerticalPanel? I don't
see any methods like addClickHandler() for it?
Thanks
Thanks, this is all I had to add after the 'implements':
@Override
public HandlerRegistration addClickHandler(ClickHandler handler) {
return addDomHandler(handler, ClickEvent.getType());
}
Thanks again,
Mark
On Sep 8, 3:11 pm, Tamás Gömbös gomb...@gmail.com wrote:
Hi,
Just
Hi
also you can use this code:
VerticalPanel verticalPanel = new VerticalPanel() {
@Override
public void onBrowserEvent(Event event) {
super.onBrowserEvent(event);
switch (DOM.eventGetType(event)) {
case Event.ONCLICK: {