Spinner control - without a value factory installed a
Spinner is unusable. It is the role of the value factory to handle almost all
aspects of the Spinner, including:
value,Incrementing
and decrementing the
value, with one or more steps per call,Converting text input
from the user (via the Spinner editor,objects to user-readable strings
for display on screenSpinnerValueFactory classes for some common types are provided with JavaFX, including:
Spinner, SpinnerValueFactory.IntegerSpinnerValueFactory , SpinnerValueFactory.DoubleSpinnerValueFactory , SpinnerValueFactory.ListSpinnerValueFactory
| Modifier and Type | Class and Description |
|---|---|
| public static class | SpinnerValueFactory.
A |
| public static class | SpinnerValueFactory.
A |
| public static class | SpinnerValueFactory.
The type of the elements in the T>java..A |
| pack-priv static class | SpinnerValueFactory.
A |
| pack-priv static class | SpinnerValueFactory.
A |
| Modifier and Type | Field and Description |
|---|---|
| private ObjectProperty | |
| private ObjectProperty | value
Represents the current value of the SpinnerValueFactory, or null if no value has been set. |
| private BooleanProperty | wrapAround
The wrapAround property is used to specify whether the value factory should be circular. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final ObjectProperty | |
| public abstract void | |
| public final StringConverter | |
| public final T | |
| public abstract void | |
| public final boolean | |
| public final void | |
| public final void | |
| public final void | |
| public final ObjectProperty | |
| public final BooleanProperty |