Class CheckboxGroup
Hierarchy
- SelectorGroup
- CheckboxGroup
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
Creates a new SelectorGroup
Parameters
name: string
of group, used as a group heading
Returns CheckboxGroup
Properties
nameSearch playground for name
name of SelectorGroup
Accessors
group Panel
Gets the groupPanel of the SelectorGroup
Returns StackPanel
header
Gets and sets the group header
Returns string
Gets and sets the group header
Parameters
label: string
Returns void
selectors
Gets the selectors array
Returns StackPanel[]
Methods
add CheckboxSearch playground for addCheckbox
Adds a checkbox as a control
Parameters
text: string
is the label for the selector
Optional func: ((s: boolean) => void)
is the function called when the Selector is checked
Parameters
s: boolean
Returns void
Optional checked: boolean
is true when Selector is checked
Returns void
remove SelectorSearch playground for removeSelector
Removes the selector at the given position
Parameters
selectorNb: number
the position of the selector within the group
Returns void
Class used to create a CheckboxGroup which contains groups of checkbox buttons