On 04/12/2009 01:42 PM, [email protected] wrote:
> Hi all,
>
> My current 1.5.4 application uses ClickListener extensively, now it
> has been deprecated I must use ClickHandler.  However the onClick
> method monitors and Click event or something like that, whereas
> ClickListener monitored a widget.  If I wanted to pass in a widget
> like so;
>
> onClick(Widget Checkbox1)
>
> so I can evalute the state of checkbox1 when it is clicked, how can I
> do that now onClick passes in an event?
>    

I believe you want 
http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/dom/client/NativeEvent.html#getCurrentEventTarget()

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to