class JDoubleSpinner : JNumberSpinner<Double>
A JNumberSpinner for doubles.
minValue
- the smallest number that may be represented
maxValue
- the largest number that may be represented
stepSize
- the default value to increment and decrement by
name
- the name of this component
JDoubleSpinner(value: Double = 0.0, minValue: Double = -Double.MAX_VALUE, maxValue: Double = Double.MAX_VALUE, stepSize: Double = 0.1, name: String? = null)
A JNumberSpinner for doubles. |
val numberToT: (Number) -> Double
|
var maxValue: T
The maximal allowed value. |
|
var minValue: T
The minimal allowed value. |
open fun getValue(): T
Returns the current value of the spinner. |
|
open fun setValue(value: Any): Unit
Sets the value of the spinner. |
|
fun validateValue(): ValidationInfo?
Validates the current value. |