Re: Another 1.6 event handler question

2009-06-09 Thread Dean Karres
Thank you. On Tue, Jun 9, 2009 at 3:17 PM, Paul wrote: > > event.getSource() --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@google

Re: Another 1.6 event handler question

2009-06-09 Thread Paul
event.getSource() On 9 Jun., 22:11, dk wrote: > Hi, > > In pre-1.6 I could implement ClickListener and then in my code... > > Button foo = new Button(); > foo.addClickListener(this); > ... > etc > > I know that in 1.6 I implement ClickHandler and then > > ... > foo.addClickHandler(this); > ... >

Another 1.6 event handler question

2009-06-09 Thread dk
Hi, In pre-1.6 I could implement ClickListener and then in my code... Button foo = new Button(); foo.addClickListener(this); ... etc I know that in 1.6 I implement ClickHandler and then ... foo.addClickHandler(this); ... My question today is about creating the onClick method. Before I could