invoke
operator fun invoke(range: ClosedRange<Int>, value: Int = range.start, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): Slider<Int>(source)
operator fun invoke(range: ClosedRange<Float>, value: Float = range.start, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): Slider<Float>(source)
operator fun invoke(range: ClosedRange<Double>, value: Double = range.start, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): Slider<Double>(source)
operator fun invoke(range: ClosedRange<Long>, value: Long = range.start, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): Slider<Long>(source)
operator fun invoke(range: ClosedRange<Short>, value: Short = range.start, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): Slider<Short>(source)
operator fun invoke(range: ClosedRange<Byte>, value: Byte = range.start, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): Slider<Byte>(source)
operator fun invoke(range: CharRange, value: Char = range.first, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): Slider<Char>(source)
operator fun <T : Units> invoke(range: ClosedRange<Measure<T>>, value: Measure<T> = range.start, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): Slider<Measure<T>>(source)
operator fun <T : Comparable<T>> invoke(range: ClosedRange<T>, converter: Interpolator<T>, value: T = range.start, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): Slider<T>(source)
Creates a Slider with a given range and starting value.
Parameters
range
of the bar
value
to start with
orientation
of the control
operator fun invoke(model: ConfinedValueModel<Int>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): Slider<Int>(source)
operator fun invoke(model: ConfinedValueModel<Float>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): Slider<Float>(source)
operator fun invoke(model: ConfinedValueModel<Double>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): Slider<Double>(source)
operator fun invoke(model: ConfinedValueModel<Long>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): Slider<Long>(source)
operator fun invoke(model: ConfinedValueModel<Short>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): Slider<Short>(source)
operator fun invoke(model: ConfinedValueModel<Byte>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): Slider<Byte>(source)
operator fun invoke(model: ConfinedValueModel<Char>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): Slider<Char>(source)
operator fun <T : Units> invoke(model: ConfinedValueModel<Measure<T>>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): Slider<Measure<T>>(source)
operator fun <T : Comparable<T>> invoke(model: ConfinedValueModel<T>, converter: Interpolator<T>, orientation: Orientation = Horizontal, function: InvertibleFunction = LinearFunction): Slider<T>(source)
Creates a Slider with the given model.
Parameters
model
of the bar
orientation
of the control
inline operator fun <T : Number, Comparable<T>> invoke(model: ConfinedValueModel<T>, orientation: Orientation = Horizontal, type: KClass<T>, function: InvertibleFunction = LinearFunction): Slider<T>(source)
Deprecated
Use explicit inline versions for numbers instead.
Creates a Slider with the given model.
Parameters
model
of the bar
orientation
of the control
type
class type of the slider