< prev index next >
modules/javafx.controls/src/main/java/javafx/scene/control/TextField.java
Print this page
@@ -151,10 +151,11 @@
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,10 +233,11 @@
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 >