JIntSpinner

class JIntSpinner(value: Int = 0, minValue: Int = Int.MIN_VALUE, maxValue: Int = Int.MAX_VALUE, stepSize: Int = 1) : JNumberSpinner<Int> (source)

A JNumberSpinner for integers.

Parameters

value

the default value

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

Constructors

Link copied to clipboard
constructor(value: Int = 0, minValue: Int = Int.MIN_VALUE, maxValue: Int = Int.MAX_VALUE, stepSize: Int = 1)

Properties

Link copied to clipboard
open override val numberToT: (Number) -> Int

Transforms a Number into a T.

Functions

Link copied to clipboard
fun JIntSpinner.hasValue(lambda: (Int) -> Boolean): ComponentPredicate

Returns a ComponentPredicate that evaluates lambda on the value of this JIntSpinner.