< prev index next >

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

Print this page

        

*** 151,160 **** --- 151,161 ---- setText(text); } /** * Returns the character sequence backing the text field's content. + * @return the character sequence backing the text field's content */ public CharSequence getCharacters() { return ((TextFieldContent)getContent()).characters; }
*** 232,241 **** --- 233,243 ---- public final void setOnAction(EventHandler<ActionEvent> value) { onActionProperty().set(value); } /** * Specifies how the text should be aligned when there is empty * space within the TextField. + * @return the alignment property * @since JavaFX 2.1 */ public final ObjectProperty<Pos> alignmentProperty() { if (alignment == null) { alignment = new StyleableObjectProperty<Pos>(Pos.CENTER_LEFT) {
< prev index next >