< prev index next >

modules/javafx.controls/src/main/java/javafx/scene/control/SpinnerValueFactory.java

Print this page

        

*** 71,82 **** * for display on screen</li> * </ul> * * <p>SpinnerValueFactory classes for some common types are provided with JavaFX, including: * - * <br/> - * * <ul> * <li>{@link SpinnerValueFactory.IntegerSpinnerValueFactory}</li> * <li>{@link SpinnerValueFactory.DoubleSpinnerValueFactory}</li> * <li>{@link SpinnerValueFactory.ListSpinnerValueFactory}</li> * </ul> --- 71,80 ----
*** 295,304 **** --- 293,303 ---- private ObjectProperty<ObservableList<T>> items; /** * Sets the underlying data model for the ListSpinnerValueFactory. Note that it has a generic * type that must match the type of the Spinner itself. + * @param value the list of items */ public final void setItems(ObservableList<T> value) { itemsProperty().set(value); }
*** 316,325 **** --- 315,325 ---- } /** * The underlying data model for the ListView. Note that it has a generic * type that must match the type of the ListView itself. + * @return the list of items */ public final ObjectProperty<ObservableList<T>> itemsProperty() { if (items == null) { items = new SimpleObjectProperty<ObservableList<T>>(this, "items") { WeakReference<ObservableList<T>> oldItemsRef;
*** 507,516 **** --- 507,517 ---- public final int getMin() { return min.get(); } /** * Sets the minimum allowable value for this value factory + * @return the minimum allowable value for this value factory */ public final IntegerProperty minProperty() { return min; }
*** 540,549 **** --- 541,551 ---- public final int getMax() { return max.get(); } /** * Sets the maximum allowable value for this value factory + * @return the maximum allowable value for this value factory */ public final IntegerProperty maxProperty() { return max; }
*** 555,564 **** --- 557,567 ---- public final int getAmountToStepBy() { return amountToStepBy.get(); } /** * Sets the amount to increment or decrement by, per step. + * @return the amount to increment or decrement by, per step */ public final IntegerProperty amountToStepByProperty() { return amountToStepBy; }
*** 767,776 **** --- 770,780 ---- public final double getMin() { return min.get(); } /** * Sets the minimum allowable value for this value factory + * @return the minimum allowable value for this value factory */ public final DoubleProperty minProperty() { return min; }
*** 800,809 **** --- 804,814 ---- public final double getMax() { return max.get(); } /** * Sets the maximum allowable value for this value factory + * @return the maximum allowable value for this value factory */ public final DoubleProperty maxProperty() { return max; }
*** 815,824 **** --- 820,830 ---- public final double getAmountToStepBy() { return amountToStepBy.get(); } /** * Sets the amount to increment or decrement by, per step. + * @return the amount to increment or decrement by, per step */ public final DoubleProperty amountToStepByProperty() { return amountToStepBy; }
< prev index next >