slider
fun slider(range: ClosedRange<Int>, orientation: Orientation = Horizontal, config: SliderConfig<Int>.() -> Unit = {}): FieldVisualizer<Int>(source)
fun slider(range: ClosedRange<Float>, orientation: Orientation = Horizontal, config: SliderConfig<Float>.() -> Unit = {}): FieldVisualizer<Float>(source)
fun slider(range: ClosedRange<Double>, orientation: Orientation = Horizontal, config: SliderConfig<Double>.() -> Unit = {}): FieldVisualizer<Double>(source)
fun slider(range: ClosedRange<Long>, orientation: Orientation = Horizontal, config: SliderConfig<Long>.() -> Unit = {}): FieldVisualizer<Long>(source)
fun slider(range: ClosedRange<Short>, orientation: Orientation = Horizontal, config: SliderConfig<Short>.() -> Unit = {}): FieldVisualizer<Short>(source)
fun slider(range: ClosedRange<Byte>, orientation: Orientation = Horizontal, config: SliderConfig<Byte>.() -> Unit = {}): FieldVisualizer<Byte>(source)
fun slider(range: ClosedRange<Char>, orientation: Orientation = Horizontal, config: SliderConfig<Char>.() -> Unit = {}): FieldVisualizer<Char>(source)
fun <T : Units> slider(range: ClosedRange<Measure<T>>, orientation: Orientation = Horizontal, config: SliderConfig<Measure<T>>.() -> Unit = {}): FieldVisualizer<Measure<T>>(source)
Creates a Slider control that is bound to a Field. This control lets the user select a value within a range.
Parameters
range
for the Slider
orientation
of the Slider
config
for the Slider
fun slider(model: ConfinedValueModel<Int>, orientation: Orientation = Horizontal, config: SliderConfig<Int>.() -> Unit = {}): FieldVisualizer<Int>(source)
fun slider(model: ConfinedValueModel<Float>, orientation: Orientation = Horizontal, config: SliderConfig<Float>.() -> Unit = {}): FieldVisualizer<Float>(source)
fun slider(model: ConfinedValueModel<Double>, orientation: Orientation = Horizontal, config: SliderConfig<Double>.() -> Unit = {}): FieldVisualizer<Double>(source)
fun slider(model: ConfinedValueModel<Long>, orientation: Orientation = Horizontal, config: SliderConfig<Long>.() -> Unit = {}): FieldVisualizer<Long>(source)
fun slider(model: ConfinedValueModel<Short>, orientation: Orientation = Horizontal, config: SliderConfig<Short>.() -> Unit = {}): FieldVisualizer<Short>(source)
fun slider(model: ConfinedValueModel<Byte>, orientation: Orientation = Horizontal, config: SliderConfig<Byte>.() -> Unit = {}): FieldVisualizer<Byte>(source)
fun slider(model: ConfinedValueModel<Char>, orientation: Orientation = Horizontal, config: SliderConfig<Char>.() -> Unit = {}): FieldVisualizer<Char>(source)
fun <T : Units> slider(model: ConfinedValueModel<Measure<T>>, orientation: Orientation = Horizontal, config: SliderConfig<Measure<T>>.() -> Unit = {}): FieldVisualizer<Measure<T>>(source)
Creates a Slider control that is bound to a Field. This control lets the user select a value within a range.
Parameters
model
for the Slider
orientation
of the Slider
config
for the Slider
fun <T : Comparable<T>> slider(range: ClosedRange<T>, orientation: Orientation = Horizontal, interpolator: Interpolator<T>, config: SliderConfig<T>.() -> Unit = {}): FieldVisualizer<T>(source)
fun <T : Comparable<T>> slider(model: ConfinedValueModel<T>, orientation: Orientation = Horizontal, interpolator: Interpolator<T>, config: SliderConfig<T>.() -> Unit = {}): FieldVisualizer<T>(source)
inline fun <T : Number, Comparable<T>> slider(model: ConfinedValueModel<T>, orientation: Orientation = Horizontal, noinline config: SliderConfig<T>.() -> Unit = {}, type: KClass<T>): FieldVisualizer<T>(source)
Deprecated
Use version without type.