Example usage for Java com.vaadin.ui TextArea fields, constructors, methods, implement or subclass
The text is from its open source code.
TextArea() Constructs an empty TextArea. | |
TextArea(String caption) Constructs an empty TextArea with given caption. | |
TextArea(ValueChangeListener Constructs a new TextArea with a value change listener. | |
TextArea(String caption, String value) Constructs a TextArea with given caption and value. | |
TextArea(String caption, ValueChangeListener Constructs a new TextArea with the given caption and a value change listener. |
Registration | addBlurListener(BlurListener listener) Adds a BlurListener to this component, which gets fired when this component loses keyboard focus. |
Registration | addFocusListener(FocusListener listener) Adds a FocusListener to this component, which gets fired when this component receives keyboard focus. |
int | getRows() Gets the number of rows in the text area. |
String | getValue() |
void | selectAll() Selects all text in the field. |
void | setCursorPosition(int pos) Sets the cursor position in the field. |
void | setMaxLength(int maxLength) Sets the maximum number of characters in the field. |
void | setPlaceholder(String placeholder) Sets the placeholder text. |
void | setRows(int rows) Sets the number of rows in the text area. |
void | setValue(String value) Sets the value of this text field. |
void | setValueChangeMode(ValueChangeMode mode) |
void | setWordWrap(boolean wordWrap) Sets the text area's word-wrap mode on or off. |