Code example for CheckBox

Methods: setEnabled, setChecked