Hi Jeff,
I have tried addDomHandler() and indeed, it works!
Thanks a lot for your help Jeff.
Regards,
Vhann
--
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
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'v
Hi Jeff,
The part about extending LayoutPanel is fine, but I have a few questions
about how to handle events (the FocusPanel part):
1- From what I understand, most Panel subclasses (that is all except
FocusPanel and its subclasses) are more or less simple HTML divisions
(), tables (https://gro
I would recommend extending the LayoutPanel that is the closest fit to your
needs, then sink the appropriate events. You Can use FocusPanel to show you
how to sink the events you're interested in.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit
Hi,
I am trying to adapt a slideshow to the web using GWT (it is going to
be a long go considering my rate of progress, but it's okay, I enjoy
getting back to Java).
Basically, the problem I encounter is that a Slide must be able to
catch click events (to start the next SlideItem's Animation or t