rangeSlider

fun rangeSlider(model: ConfinedRangeModel<Int>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction, config: RangeSliderConfig<Int>.() -> Unit = {}): FieldVisualizer<ClosedRange<Int>>(source)
@JvmName(name = "rangeSliderFloat")
fun rangeSlider(model: ConfinedRangeModel<Float>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction, config: RangeSliderConfig<Float>.() -> Unit = {}): FieldVisualizer<ClosedRange<Float>>(source)
@JvmName(name = "rangeSliderDouble")
fun rangeSlider(model: ConfinedRangeModel<Double>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction, config: RangeSliderConfig<Double>.() -> Unit = {}): FieldVisualizer<ClosedRange<Double>>(source)
@JvmName(name = "rangeSliderLong")
fun rangeSlider(model: ConfinedRangeModel<Long>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction, config: RangeSliderConfig<Long>.() -> Unit = {}): FieldVisualizer<ClosedRange<Long>>(source)
@JvmName(name = "rangeSliderShort")
fun rangeSlider(model: ConfinedRangeModel<Short>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction, config: RangeSliderConfig<Short>.() -> Unit = {}): FieldVisualizer<ClosedRange<Short>>(source)
@JvmName(name = "rangeSliderByte")
fun rangeSlider(model: ConfinedRangeModel<Byte>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction, config: RangeSliderConfig<Byte>.() -> Unit = {}): FieldVisualizer<ClosedRange<Byte>>(source)
@JvmName(name = "rangeSliderChar")
fun rangeSlider(model: ConfinedRangeModel<Char>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction, config: RangeSliderConfig<Char>.() -> Unit = {}): FieldVisualizer<ClosedRange<Char>>(source)
@JvmName(name = "rangeSliderMeasure")
fun <T : Units> rangeSlider(model: ConfinedRangeModel<Measure<T>>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction, config: RangeSliderConfig<Measure<T>>.() -> Unit = {}): FieldVisualizer<ClosedRange<Measure<T>>>(source)

Creates a RangeSlider 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 rangeSlider(range: ClosedRange<Int>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction, config: RangeSliderConfig<Int>.() -> Unit = {}): FieldVisualizer<ClosedRange<Int>>(source)
@JvmName(name = "rangeSliderFloat")
fun rangeSlider(range: ClosedRange<Float>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction, config: RangeSliderConfig<Float>.() -> Unit = {}): FieldVisualizer<ClosedRange<Float>>(source)
@JvmName(name = "rangeSliderDouble")
fun rangeSlider(range: ClosedRange<Double>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction, config: RangeSliderConfig<Double>.() -> Unit = {}): FieldVisualizer<ClosedRange<Double>>(source)
@JvmName(name = "rangeSliderLong")
fun rangeSlider(range: ClosedRange<Long>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction, config: RangeSliderConfig<Long>.() -> Unit = {}): FieldVisualizer<ClosedRange<Long>>(source)
@JvmName(name = "rangeSliderShort")
fun rangeSlider(range: ClosedRange<Short>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction, config: RangeSliderConfig<Short>.() -> Unit = {}): FieldVisualizer<ClosedRange<Short>>(source)
@JvmName(name = "rangeSliderByte")
fun rangeSlider(range: ClosedRange<Byte>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction, config: RangeSliderConfig<Byte>.() -> Unit = {}): FieldVisualizer<ClosedRange<Byte>>(source)
@JvmName(name = "rangeSliderChar")
fun rangeSlider(range: ClosedRange<Char>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction, config: RangeSliderConfig<Char>.() -> Unit = {}): FieldVisualizer<ClosedRange<Char>>(source)
@JvmName(name = "rangeSliderMeasure")
fun <T : Units> rangeSlider(range: ClosedRange<Measure<T>>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction, config: RangeSliderConfig<Measure<T>>.() -> Unit = {}): FieldVisualizer<ClosedRange<Measure<T>>>(source)

Creates a RangeSlider 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 <T : Comparable<T>> rangeSlider(range: ClosedRange<T>, converter: Interpolator<T>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction, config: RangeSliderConfig<T>.() -> Unit = {}): FieldVisualizer<ClosedRange<T>>(source)
fun <T : Comparable<T>> rangeSlider(model: ConfinedRangeModel<T>, converter: Interpolator<T>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction, config: RangeSliderConfig<T>.() -> Unit = {}): FieldVisualizer<ClosedRange<T>>(source)

See also


inline fun <T : Number, Comparable<T>> rangeSlider(model: ConfinedRangeModel<T>, orientation: Orientation = Horizontal, noinline config: RangeSliderConfig<T>.() -> Unit = {}, type: KClass<T>, function: InvertibleFunction = LinearFunction): FieldVisualizer<ClosedRange<T>>(source)

Deprecated

Use version without type.

See also