SpinnerValueFactory

abstract class SpinnerValueFactory[T](val delegate: SpinnerValueFactory[T]) extends SFXDelegate[SpinnerValueFactory[T]]

The SpinnerValueFactory is the model behind the Spinner control - without a value factory installed a Spinner is unusable.

The SpinnerValueFactory is the model behind the Spinner control - without a value factory installed a Spinner is unusable.

Wraps a JavaFX http://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/SpinnerValueFactory.html.

Type Params
T

The type of the data this value factory deals with, which must coincide with the type of the Spinner that the value factory is set on.

Value Params
delegate

A JavaFX SpinnerValueFactory to be wrapped. Its default value is a new JavaFX SpinnerValueFactory.

Companion
object
trait SFXDelegate[SpinnerValueFactory[T]]
class Object
trait Matchable
class Any

Value members

Concrete 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.

def converter_=(newValue: StringConverter[T]): Unit

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.

def value_=(newValue: T): Unit

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).

def wrapAround_=(value: Boolean): Unit

Inherited methods

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 Params
ref

Object to be compared.

Returns

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

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
override def toString: String
Returns

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

Definition Classes
Inherited from
SFXDelegate

Concrete fields

override val delegate: SpinnerValueFactory[T]