Companion

Functions

Link copied to clipboard
@JvmName(name = "invokeMeasure")
operator fun <T : Units> invoke(model: ConfinedRangeModel<Measure<T>>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): RangeSlider<Measure<T>>
@JvmName(name = "invokeByte")
operator fun invoke(model: ConfinedRangeModel<Byte>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): RangeSlider<Byte>
@JvmName(name = "invokeChar")
operator fun invoke(model: ConfinedRangeModel<Char>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): RangeSlider<Char>
@JvmName(name = "invokeDouble")
operator fun invoke(model: ConfinedRangeModel<Double>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): RangeSlider<Double>
@JvmName(name = "invokeFloat")
operator fun invoke(model: ConfinedRangeModel<Float>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): RangeSlider<Float>
operator fun invoke(model: ConfinedRangeModel<Int>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): RangeSlider<Int>
@JvmName(name = "invokeLong")
operator fun invoke(model: ConfinedRangeModel<Long>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): RangeSlider<Long>
@JvmName(name = "invokeShort")
operator fun invoke(model: ConfinedRangeModel<Short>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): RangeSlider<Short>
operator fun <T : Comparable<T>> invoke(model: ConfinedRangeModel<T>, converter: Interpolator<T>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): RangeSlider<T>
inline operator fun <T : Number, Comparable<T>> invoke(model: ConfinedRangeModel<T>, orientation: Orientation = Horizontal, type: KClass<T>, function: InvertibleFunction = LinearFunction): RangeSlider<T>

Creates a Slider with the given model.

@JvmName(name = "invokeMeasure")
operator fun <T : Units> invoke(limits: ClosedRange<Measure<T>>, value: ClosedRange<Measure<T>> = limits.start .. limits.start, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): RangeSlider<Measure<T>>
@JvmName(name = "invokeByte")
operator fun invoke(limits: ClosedRange<Byte>, value: ClosedRange<Byte> = (limits.start .. limits.start) as ClosedRange<Byte>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): RangeSlider<Byte>
@JvmName(name = "invokeChar")
operator fun invoke(limits: ClosedRange<Char>, value: ClosedRange<Char> = limits.start .. limits.start, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): RangeSlider<Char>
@JvmName(name = "invokeDouble")
operator fun invoke(limits: ClosedRange<Double>, value: ClosedRange<Double> = limits.start .. limits.start, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): RangeSlider<Double>
@JvmName(name = "invokeFloat")
operator fun invoke(limits: ClosedRange<Float>, value: ClosedRange<Float> = limits.start .. limits.start, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): RangeSlider<Float>
operator fun invoke(limits: ClosedRange<Int>, value: ClosedRange<Int> = limits.start .. limits.start, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): RangeSlider<Int>
@JvmName(name = "invokeLong")
operator fun invoke(limits: ClosedRange<Long>, value: ClosedRange<Long> = limits.start .. limits.start, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): RangeSlider<Long>
@JvmName(name = "invokeShort")
operator fun invoke(limits: ClosedRange<Short>, value: ClosedRange<Short> = (limits.start .. limits.start) as ClosedRange<Short>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): RangeSlider<Short>
operator fun <T : Comparable<T>> invoke(limits: ClosedRange<T>, converter: Interpolator<T>, value: ClosedRange<T> = limits.start .. limits.start, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): RangeSlider<T>

Creates a Slider with a given range and starting value.