It will be invoked for all DOM events passed to the Widget.

You can pass selected events to the widget with sinkEvents() or
addDomHandler:

http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/user/client/ui/Widget.html#sinkEvents(int)
http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/user/client/ui/Widget.html#addDomHandler(H,%20com.google.gwt.event.dom.client.DomEvent.Type)
http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/user/client/ui/Widget.html#onBrowserEvent(com.google.gwt.user.client.Event)
http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/user/client/Event.html

On Sep 4, 6:57 pm, wahaha <[email protected]> wrote:
> when and in what situation would the onBrowserEvent method of Widget
> be triggered ?
>
> sorry for my poor english,i hope you can understand what i say.

-- 
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