CheckBox.getChecked

Overview | Methods | This Package | All Packages

CheckBox.getChecked

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

Syntax

public final boolean getChecked()

Return Value

Returns true if the check box is checked or indeterminate; returns false if the check box is unchecked.

Remarks

If the threeState property of a check box is set to true, this method returns true for either checked or indeterminate states. If you want to distinguish between a checked and indeterminate state, use the getCheckState method to return the check box state.

See Also   setChecked