Code example for CheckBoxPreference

Methods: setEnabledsetChecked