On 16 oct, 11:32, shangxiao <[email protected]> wrote: > Hi, > > Is there any reason why CheckBox and RadioButton don't implement the > HasChangeHandlers interface? I want to create a single handler for > bunch of widgets including text boxes and a checkbox.
They implement HasClickHandlers because that's how they work at the DOM level: they don't fire 'change' events but 'click' events. However, both TextBox and CheckBox (and therefore RadioButton too) implement HasValue<?>, which inherits HasValueChangeHandlers, so you could use ValueChangeEvents instead of ChangeEvents. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
