Sunday, September 4, 2011

Re: when would the onBrowserEvent method of Widget be triggered ?

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 <il...@yahoo.com.cn> 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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate