| Constructor and Description |
|---|
TextArea(java.lang.String placeholder) |
TextArea(java.lang.String placeholder,
int cols,
int rows,
TextHandler handler) |
TextArea(java.lang.String placeholder,
short cols,
short rows) |
TextArea(java.lang.String placeholder,
java.lang.String defaultText) |
TextArea(java.lang.String placeholder,
java.lang.String defaultText,
int cols,
int rows,
TextHandler handler) |
TextArea(java.lang.String placeholder,
java.lang.String defaultText,
TextHandler handler) |
TextArea(java.lang.String placeholder,
TextHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getData() |
java.lang.String |
getName() |
java.lang.String |
getText()
Returns entered text
|
void |
handleData(java.lang.String data)
Internal use only
|
TextArea |
setPlaceholder(java.lang.String placeholder)
Sets new placeholder text
|
TextArea |
setSize(short cols,
short rows)
Sets size of the widget
|
TextArea |
setText(java.lang.String text)
Sets new text
|
addTo, attach, getID, sendElementpublic TextArea(java.lang.String placeholder,
java.lang.String defaultText,
int cols,
int rows,
TextHandler handler)
placeholder - Hint textdefaultText - Default textcols - Column amount, by default 20rows - Row amount, by default 3handler - Handler of typed textpublic TextArea(java.lang.String placeholder,
int cols,
int rows,
TextHandler handler)
placeholder - Hint textcols - Column amount, by default 20rows - Row amount, by default 3handler - Handler of typed textpublic TextArea(java.lang.String placeholder,
java.lang.String defaultText,
TextHandler handler)
placeholder - Hint textdefaultText - Default texthandler - Handler of typed textpublic TextArea(java.lang.String placeholder,
TextHandler handler)
placeholder - Hint texthandler - Handler of typed textpublic TextArea(java.lang.String placeholder,
short cols,
short rows)
placeholder - Hint textcols - Column amount, by default 20rows - Row amount, by default 3public TextArea(java.lang.String placeholder,
java.lang.String defaultText)
placeholder - Hint textdefaultText - Default textpublic TextArea(java.lang.String placeholder)
placeholder - Hint textpublic TextArea setText(java.lang.String text)
text - Text to setpublic TextArea setSize(short cols, short rows)
cols - Column amount, by default 20rows - Row amount, by default 3public TextArea setPlaceholder(java.lang.String placeholder)
placeholder - Placeholder textpublic java.lang.String getText()
public void handleData(java.lang.String data)
handleData in class Widget