JSpinnerRange

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

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

Parameters

name

the name to use in error messages

Constructors

Link copied to clipboard
constructor(min: JSpinner, max: JSpinner, maxRange: Double? = null, name: String? = null)

Properties

Link copied to clipboard
val maxValue: Double

The current maximum value of the range.

Link copied to clipboard
val minValue: Double

The current minimum value of the range.

Link copied to clipboard
val name: String

The name parameter preceded by a whitespace if it was not null, or an empty string otherwise.

Functions

Link copied to clipboard

Validates this range.