Java com.vaadin.ui TextArea fields, constructors, methods, implement or subclass

Example usage for Java com.vaadin.ui TextArea fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.vaadin.ui TextArea.

The text is from its open source code.

Subclass

com.vaadin.ui.TextArea has subclasses.
Click this link to see all its subclasses.

Constructor

TextArea()
Constructs an empty TextArea.
TextArea(String caption)
Constructs an empty TextArea with given caption.
TextArea(ValueChangeListener 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 valueChangeListener)
Constructs a new TextArea with the given caption and a value change listener.

Method

RegistrationaddBlurListener(BlurListener listener)
Adds a BlurListener to this component, which gets fired when this component loses keyboard focus.
RegistrationaddFocusListener(FocusListener listener)
Adds a FocusListener to this component, which gets fired when this component receives keyboard focus.
intgetRows()
Gets the number of rows in the text area.
StringgetValue()
voidselectAll()
Selects all text in the field.
voidsetCursorPosition(int pos)
Sets the cursor position in the field.
voidsetMaxLength(int maxLength)
Sets the maximum number of characters in the field.
voidsetPlaceholder(String placeholder)
Sets the placeholder text.
voidsetRows(int rows)
Sets the number of rows in the text area.
voidsetValue(String value)
Sets the value of this text field.
voidsetValueChangeMode(ValueChangeMode mode)
voidsetWordWrap(boolean wordWrap)
Sets the text area's word-wrap mode on or off.