DoubleSpinnerValueFactory

scalafx.scene.control.SpinnerValueFactory.DoubleSpinnerValueFactory
See theDoubleSpinnerValueFactory companion object
class DoubleSpinnerValueFactory(val delegate: DoubleSpinnerValueFactory) extends SpinnerValueFactory[Double], SFXDelegate[DoubleSpinnerValueFactory]

A SpinnerValueFactory implementation designed to iterate through double values.

Attributes

Companion
object
Graph
Supertypes
class SpinnerValueFactory[Double]
trait SFXDelegate[DoubleSpinnerValueFactory]
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this(min: Double, max: Double)

Constructs a new DoubleSpinnerValueFactory that sets the initial value to be equal to the min value, and a default amountToStepBy of one.

Constructs a new DoubleSpinnerValueFactory that sets the initial value to be equal to the min value, and a default amountToStepBy of one.

Value parameters

max

The maximum allowed double value for the Spinner.

min

The minimum allowed double value for the Spinner.

Attributes

def this(min: Double, max: Double, initialValue: Double)

Constructs a new DoubleSpinnerValueFactory with a default amountToStepBy of one.

Constructs a new DoubleSpinnerValueFactory with a default amountToStepBy of one.

Value parameters

initialValue

The value of the Spinner when first instantiated, must be within the bounds of the min and max arguments, or else the min value will be used.

max

The maximum allowed double value for the Spinner.

min

The minimum allowed double value for the Spinner.

Attributes

def this(min: Double, max: Double, initialValue: Double, amountToStepBy: Double)

Constructs a new DoubleSpinnerValueFactory.

Constructs a new DoubleSpinnerValueFactory.

Value parameters

amountToStepBy

The amount to increment or decrement by, per step.

initialValue

The value of the Spinner when first instantiated, must be within the bounds of the min and max arguments, or else the min value will be used.

max

The maximum allowed double value for the Spinner.

min

The minimum allowed double value for the Spinner.

Attributes

Concrete methods

Sets the amount to increment or decrement by, per step.

Sets the amount to increment or decrement by, per step.

Attributes

Sets the maximum allowable value for this value factory

Sets the maximum allowable value for this value factory

Attributes

def max_=(value: Double): Unit

Sets the minimum allowable value for this value factory

Sets the minimum allowable value for this value factory

Attributes

def min_=(value: Double): Unit

Inherited methods

def converter: ObjectProperty[StringConverter[T]]

Converts the user-typed input (when the Spinner is editable) to an object of type T, such that the input may be retrieved via the value property.

Converts the user-typed input (when the Spinner is editable) to an object of type T, such that the input may be retrieved via the value property.

Attributes

Inherited from:
SpinnerValueFactory
def converter_=(newValue: StringConverter[Double]): Unit

Attributes

Inherited from:
SpinnerValueFactory
override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value parameters

ref

Object to be compared.

Attributes

Returns

if the other object is equals to this delegate or not.

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def toString: String

Attributes

Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate

Represents the current value of the SpinnerValueFactory, or null if no value has been set.

Represents the current value of the SpinnerValueFactory, or null if no value has been set.

Attributes

Inherited from:
SpinnerValueFactory
def value_=(newValue: Double): Unit

Attributes

Inherited from:
SpinnerValueFactory

The wrapAround property is used to specify whether the value factory should be circular. For example, should an integer-based value model increment from the maximum value back to the minimum value (and vice versa).

The wrapAround property is used to specify whether the value factory should be circular. For example, should an integer-based value model increment from the maximum value back to the minimum value (and vice versa).

Attributes

Inherited from:
SpinnerValueFactory
def wrapAround_=(value: Boolean): Unit

Attributes

Inherited from:
SpinnerValueFactory

Concrete fields

override val delegate: DoubleSpinnerValueFactory

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes