Usage Example:
// Create a TextAreaBox with auto-sizing
TextAreaBox textArea = TextAreaBox.create().autoSize().setRows(4);
// Create a TextAreaBox with a label
TextAreaBox labeledTextArea = TextAreaBox.create("Comments");
See also :
public void TextAreaBox()
public void TextAreaBox(String label)
label
The label text for the TextAreaBox.
public static TextAreaBox create()
public static TextAreaBox create(String label)
label
the label for the text area
a new instance of TextAreaBox with the provided label
public TextAreaBox setRows(int rows)
rows
The number of rows to set.
This `TextAreaBox` instance.
public String getStringValue()
The string value of this TextAreaBox.
public TextAreaBox autoSize()
This `TextAreaBox` instance.
public TextAreaBox fixedSize()
This `TextAreaBox` instance.
public String getType()
The type, which is always "text".
public String getName()
The name attribute value.
public TextAreaBox setName(String name)
name
The name attribute value to set.
This `TextAreaBox` instance.