class JSpinnerRange
A container for two JSpinners that indicate a range of values.
min
- the JSpinner
that represents the minimum value
max
- the JSpinner
that represents the maximum value
maxRange
- the maximum difference between min
and max
name
- the name used in error messages
JSpinnerRange(min: JSpinner, max: JSpinner, maxRange: Double = DEFAULT_MAX_RANGE, name: String? = null)
A container for two JSpinners that indicate a range of values. |
val maxValue: Double
The current maximum value of the range. |
|
val minValue: Double
The current minimum value of the range. |
|
val name: String
The |
fun validateValue(): ValidationInfo?
Validates this range. |