Meaningless Drivel is fun!
The moose likes GWT and the fly likes Handling Events in Custom Widgets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Handling Events in Custom Widgets" Watch "Handling Events in Custom Widgets" New topic

Handling Events in Custom Widgets

A Raj

Joined: Sep 18, 2011
Posts: 1


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 )

I agree. Here's the link:
subject: Handling Events in Custom Widgets
It's not a secret anymore!