• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Handling Events in Custom Widgets

 
Greenhorn
Posts: 1
Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 )
 
Sometimes you feel like a nut. Sometimes you feel like a tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic