CheckBox.setChecked

Overview | Methods | This Package | All Packages

CheckBox.setChecked

Sets a boolean value that indicates whether the check box is checked.

Syntax

public final void setChecked( boolean value )

Parameters

value

Set to true to check the check box; set to false to uncheck the check box. The default value is false.

Remarks

You cannot use this method to set the check box to an indeterminate state. To set the check box to an indeterminate state, use the setCheckState method.

See Also   getChecked