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