Roughian Examples Site Map - GWT Examples - Tutorials

CheckBox


Version 1.0 onwards

A tick (checkmark) means true, blank means false



Listeners



Notes


Dead easy to use, and it behaves the way you'd expect it to

You can assign an anonymous listener after you have created the widget, or you can assign a named listener after you have created the widget.


Code


widget.addClickListener(new ClickListener()
{
    public void onClick(Widget sender)
    {
    }
});

widget.addClickListener(listener);