> > This case requires one class ( anonymous extended EButton) creation. > > Your thoughts ..??
Yes, but you are not reducing the number of event listeners by doing this. Each button is now itself a separate click event listener. So I don't think this answers the warning given in the link about large numbers of event listeners. Also I doubt if there would be much material difference if any in the javascript generated between your EButton and a normal Button with an anonymous ClickListener, or none that would have any effect on performance anyway - you can always compile with -PRETTY and check. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
