This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Handling Events in Custom Widgets" Watch "Handling Events in Custom Widgets" New topic
Author

Handling Events in Custom Widgets

A Raj
Greenhorn

Joined: Sep 18, 2011
Posts: 1

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 )


Raj
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Handling Events in Custom Widgets
 
Similar Threads
GWT:Unable to detect right clicks on customized tab panel.
Context Menu on Tree in GWT 2.0.3
Tab Movement between Deckpanel and ButtonPanel .
Help for making swing custom widget using Visual Editor
SWT system sounds