SpinnerValueFactory

scalafx.scene.control.SpinnerValueFactory
See theSpinnerValueFactory companion object
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.

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

Type parameters

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 parameters

delegate

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

Attributes

Companion
object
Graph
Supertypes
trait SFXDelegate[SpinnerValueFactory[T]]
class Object
trait Matchable
class Any
Known subtypes

Members list

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.

Attributes

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.

Attributes

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

Attributes

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

Concrete fields

override val delegate: SpinnerValueFactory[T]

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes