BiCheckBox

Represents a check box control

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

Constructor

new BiCheckBox ( [ sText [ ,bChecked ] ] )

Parameters

NameTypeOptionalDefaultDescripton
sTextStringchecked"" The text to show on the button
bCheckedBooleancheckedfalse Whether the check box is checked or not

Properties

NameTypegetsetDescripton
checkedBooleancheckedcheckedWhether the check box is checked or not. When this is changed the change event is fired.
userValueObjectcheckedcheckedA value associated with the check box

Methods

None.

Events

NameTypeBubblesDescripton
actionBiEventFires when the user presses the button (either using the mouse or the keyboard)
changeBiEventFires when the checked property is changed

Static Methods

None.

Static Fields

None.

Remarks

Note that icons are not supperted on check boxes.