Example usage for Java javafx.scene.control Spinner fields, constructors, methods, implement or subclass
The text is from its open source code.
Spinner(@NamedArg("min") int min, @NamedArg("max") int max, @NamedArg("initialValue") int initialValue) Creates a Spinner instance with the #valueFactoryProperty() value factory set to be an instance of SpinnerValueFactory.IntegerSpinnerValueFactory . | |
Spinner(@NamedArg("min") double min, @NamedArg("max") double max, @NamedArg("initialValue") double initialValue) Creates a Spinner instance with the #valueFactoryProperty() value factory set to be an instance of SpinnerValueFactory.DoubleSpinnerValueFactory . | |
Spinner(@NamedArg("min") LocalDate min, @NamedArg("max") LocalDate max, @NamedArg("initialValue") LocalDate initialValue) Creates a Spinner instance with the #valueFactoryProperty() value factory set to be an instance of SpinnerValueFactory.LocalDateSpinnerValueFactory . | |
Spinner(@NamedArg("min") LocalTime min, @NamedArg("max") LocalTime max, @NamedArg("initialValue") LocalTime initialValue) Creates a Spinner instance with the #valueFactoryProperty() value factory set to be an instance of SpinnerValueFactory.LocalTimeSpinnerValueFactory . | |
Spinner(@NamedArg("min") int min, @NamedArg("max") int max, @NamedArg("initialValue") int initialValue, @NamedArg("amountToStepBy") int amountToStepBy) Creates a Spinner instance with the #valueFactoryProperty() value factory set to be an instance of SpinnerValueFactory.IntegerSpinnerValueFactory . | |
Spinner(@NamedArg("min") double min, @NamedArg("max") double max, @NamedArg("initialValue") double initialValue, @NamedArg("amountToStepBy") double amountToStepBy) Creates a Spinner instance with the #valueFactoryProperty() value factory set to be an instance of SpinnerValueFactory.DoubleSpinnerValueFactory . |
BooleanProperty | disableProperty() Defines the individual disabled state of this Node . |
T | getValue() |
SpinnerValueFactory | getValueFactory() |
void | increment(int steps) Attempts to increment the #valueFactoryProperty() value factory by the given number of steps, by calling the SpinnerValueFactory#increment(int) method and forwarding the steps argument to it. |
void | setEditable(boolean value) |
ReadOnlyObjectProperty | valueProperty() |