A check-box that may display a third "undetermined" state. This is useful e.g. when handling a single property for multiple objects at the same time.

This class extends BiCheckBox and therefore all methods and fields available for BiCheckBox are also available for BiThreeStateCheckBox .

Constructor

new BiThreeStateCheckBox ( [ sText [ ,bChecked ] ] )

Parameters

NameTypeOptionalDefaultDescription
sTextStringchecked"" A text displayed on the check-box
bCheckedBooleancheckednullWhether the check-box should be checked.

Properties

NameTypegetsetDescription
isUndeterminedBooleancheckedWhether the check-box is in the 'undetermined' state.

Methods

NameDescription
makeUndeterminedMake the check-box display the 'undetermined' state. Note: getChecked() will return the value null (false) after this operation.

Events

None.

Static Methods

None.

Static Fields

None.

Enumerations

None.

Remarks

None.

Method Details

makeUndetermined

Make the check-box display the 'undetermined' state. Note: getChecked() will return the value null (false) after this operation.

Syntax

object.makeUndetermined ( )

Parameters

No arguments.

Return Type

void