Companion

Functions

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

Creates a Slider with the given model.

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

Creates a Slider with a given range and starting value.