Creates a check box with the specified text label.
Parameters: label - the check box's label
CheckBox
public CheckBox(String label, boolean asHTML)(Code)
Creates a check box with the specified text label.
Parameters: label - the check box's label Parameters: asHTML - true to treat the specified label as html
This method is called when a widget is attached to the browser's document.
onAttach needs special handling for the CheckBox case. Must still call
Widget.onAttach to preserve the onAttach contract.
This method is called when a widget is detached from the browser's
document. Overridden because of IE bug that throws away checked state and
in order to clear the event listener off of the inputElem.