• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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 )
 
Space pants. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic