I figured it out. The class needs to implement the SourcesMouseEvents interface, and a call to sinkEvents must be made using Event.MOUSEEVENTS as the parameter.
On May 8, 2:41 pm, Cliff Newton <[email protected]> wrote: > I have a class derived from VerticalPanel. I have overridden the > onBrowserEvent method. The method never gets called. Why is this? > > Here is a snippit of the way the class is written: > > public class BoxGrid extends VerticalPanel { > ... > public void onBrowserEvent(Event event) { > super.onBrowserEvent(event); > int eventType = DOM.eventGetType(event); > } > > } > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
