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
Value members
Concrete methods
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.
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.
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).
Inherited methods
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
- SFXDelegate -> Any
- Inherited from
- SFXDelegate
- Returns
Returns the original delegate's
toString()
adding a[SFX]
prefix.- Definition Classes
- SFXDelegate -> Any
- Inherited from
- SFXDelegate