< prev index next >
modules/javafx.controls/src/main/java/javafx/scene/control/Spinner.java
Print this page
*** 65,84 ****
* {@link SpinnerValueFactory SpinnerValueFactory}. The value factory
* can be specified as a constructor argument and changed with the
* {@link #valueFactoryProperty() value factory property}. 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>
*
- * <br/>
- *
* <p>A Spinner has a TextField child component that is responsible for displaying
* and potentially changing the current {@link #valueProperty() value} of the
* Spinner, which is called the {@link #editorProperty() editor}. By default the
* Spinner is non-editable, but input can be accepted if the
* {@link #editableProperty() editable property} is set to true. The Spinner
--- 65,80 ----
*** 571,580 ****
--- 567,577 ----
// --- editor
/**
* The editor used by the Spinner control.
+ * @return the editor property
*/
public final ReadOnlyObjectProperty<TextField> editorProperty() {
if (editor == null) {
editor = new ReadOnlyObjectWrapper<>(this, "editor");
textField = new FakeFocusTextField();
*** 592,601 ****
--- 589,599 ----
// --- prompt text
/**
* The prompt text to display in the {@code Spinner}, or
* {@code null} if no prompt text is displayed.
+ * @return the prompt text property
* @since 9
*/
public final StringProperty promptTextProperty() { return getEditor().promptTextProperty(); }
public final String getPromptText() { return getEditor().getPromptText(); }
public final void setPromptText(String value) { getEditor().setPromptText(value); }
< prev index next >