JDoubleSpinner

class JDoubleSpinner(value: Double = 0.0, minValue: Double? = null, maxValue: Double? = null, stepSize: Double = 0.1) : JNumberSpinner<Double> (source)

A JNumberSpinner for doubles.

Note that setting the minimum or maximum value to a very large number may cause the parent component's width to be overly large.

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: Double = 0.0, minValue: Double? = null, maxValue: Double? = null, stepSize: Double = 0.1)

Properties

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

Transforms a Number into a T.