Class RadioGroup
Hierarchy
-
SelectorGroup
- RadioGroup
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
-
Creates a new SelectorGroup
Parameters
-
name: string
of group, used as a group heading
Returns RadioGroup
-
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 any
-
selectors
-
Gets the selectors array
Returns StackPanel[]
Methods
add RadioSearch playground for addRadio
-
Adds a radio button as a control
Parameters
-
label: string
is the label for the selector
-
Optional func: (n: number) => void
is the function called when the Selector is checked
-
-
Parameters
-
n: number
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 RadioGroup which contains groups of radio buttons