public Checkbox setChecked ( boolean checked ) { if ( checked ) { String valueEnabledString = this . getEnabledValueString ( ) ; this . setValue ( valueEnabledString ) ; } else { this . setValue ( "" ) ; } return this ; }
Checks or unchecks this checkbox element .