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

Name Type Optional Default Descripton
sText String checked "" The text to show on the button
bChecked Boolean checked false Whether the check box is checked or not

Properties

Name Type get set Descripton
checked Boolean checked checked Whether the check box is checked or not. When this is changed the change event is fired.
userValue Object checked checked A value associated with the check box

Methods

None.

Events

Name Type Bubbles Descripton
action BiEvent Fires when the user presses the button (either using the mouse or the keyboard)
change BiEvent Fires when the checked property is changed

Static Methods

None.

Static Fields

None.

Remarks

Note that icons are not supperted on check boxes.