class JIntSpinner : JNumberSpinner<Int>
A JNumberSpinner for integers.
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
JIntSpinner(value: Int = 0, minValue: Int = Int.MIN_VALUE, maxValue: Int = Int.MAX_VALUE, stepSize: Int = 1, name: String? = null)
A JNumberSpinner for integers. |
val numberToT: (Number) -> Int
|
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. |