This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Handling Events in Custom Widgets

 
A Raj
Greenhorn
Posts: 1
Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have this doubt which I hope to get clarified.

Prior to GWT 1.6, in a custom widget with overridden 'onBrowserEvent', native events (such as ClickEvent) could be fired to associated listeners using 'fireClick' of [b]ClickListenerCollection
With ClickListenerCollection/ClickListener APIs deprecated since, is it possible to fire the events using a List of ClickHandlers now instead ?

Or is it mandatory that they be registered and then the 'onBrowserEvent' superclass method be called ?
(Reference : Header 'New EventHandler System' and 'Widget Developers' in http://code.google.com/webtoolkit/doc/1.6/ReleaseNotes_1_6.html )
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic