Class: CheckBoxGroupController

CheckBoxGroupController

Check boxes use this controller to deselect other checkboxes in the group when they are selected.

new CheckBoxGroupController ()

Extends

Methods

getSelected (group)CheckBox

Name Type Description
group PUXI.CheckGroup
Returns:
Type Description
CheckBox the selected checkbox in the group

in (widget, checkGroup) inherited overrides

Enables the widget to enter the controller's state.

Name Type Description
widget PUXI.CheckBox
checkGroup PUXI.CheckGroup

initGroup (id) protected

Ensures that the check group exists in this.checkGroups.

Name Type Description
id PUXI.CheckGroup

notifyCheck (widget)

Called when a checkbox is selected. Do not call from outside.

Name Type Description
widget CheckBox

Disables the widget from the controller's state.

Name Type Description
widget PUXI.Widget