intellij-randomness / com.fwdekker.randomness.ui / JSpinnerRange / <init>

<init>

JSpinnerRange(min: JSpinner, max: JSpinner, name: String?)

A container for two JSpinners that indicate a range of values, using a default range.

Used for compatibility with Java.

JSpinnerRange(min: JSpinner, max: JSpinner, maxRange: Double = DEFAULT_MAX_RANGE, name: String? = null)

A container for two JSpinners that indicate a range of values.

Parameters

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