< prev index next >

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

Print this page

        

@@ -71,12 +71,10 @@
  *         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>

@@ -295,10 +293,11 @@
         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,10 +315,11 @@
         }
 
         /**
          * 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,10 +507,11 @@
         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,10 +541,11 @@
         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,10 +557,11 @@
         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,10 +770,11 @@
         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,10 +804,11 @@
         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,10 +820,11 @@
         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 >