Class SliderGroup
Hierarchy
-
SelectorGroup
- SliderGroup
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
-
Creates a new SelectorGroup
Parameters
-
name: string
of group, used as a group heading
Returns SliderGroup
-
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 SliderSearch playground for addSlider
-
Adds a slider to the SelectorGroup
Parameters
-
label: string
is the label for the SliderBar
-
Optional func: (v: number) => void
is the function called when the Slider moves
-
-
Parameters
-
v: number
Returns void
-
-
-
-
Optional unit: string
is a string describing the units used, eg degrees or metres
-
Optional min: number
is the minimum value for the Slider
-
Optional max: number
is the maximum value for the Slider
-
Optional value: number
is the start value for the Slider between min and max
-
Optional onValueChange: (v: number) => number
is the function used to format the value displayed, eg radians to degrees
-
-
Parameters
-
v: number
Returns number
-
-
-
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 SliderGroup which contains groups of slider buttons