| |
|
| com.gwtext.client.widgets.form.Field com.gwtext.client.widgets.form.TextField com.gwtext.client.widgets.form.TextArea
TextArea | public class TextArea extends TextField (Code) | | Multiline text field. Can be used as a direct replacement for traditional textarea fields, plus adds support for auto-sizing.
|
Method Summary | |
native protected JavaScriptObject | create(JavaScriptObject jsObj) | protected JavaScriptObject | getConfigPrototype() | public String | getXType() | public void | setGrowMax(int growMax) The maximum height to allow when grow = true (defaults to 1000). | public void | setGrowMin(int growMin) The minimum height to allow when grow = true (defaults to 60). | public void | setPreventScrollbars(boolean preventScrollbars) True to prevent scrollbars from appearing regardless of how much text is in the field (equivalent to setting
overflow: hidden, defaults to false). |
TextArea | public TextArea()(Code) | | Constructs a new TextArea.
|
TextArea | public TextArea(JavaScriptObject jsObj)(Code) | | |
create | native protected JavaScriptObject create(JavaScriptObject jsObj)(Code) | | |
getConfigPrototype | protected JavaScriptObject getConfigPrototype()(Code) | | |
setGrowMax | public void setGrowMax(int growMax)(Code) | | The maximum height to allow when grow = true (defaults to 1000).
Parameters: growMax - the max height |
setGrowMin | public void setGrowMin(int growMin)(Code) | | The minimum height to allow when grow = true (defaults to 60).
Parameters: growMin - the min height |
setPreventScrollbars | public void setPreventScrollbars(boolean preventScrollbars) throws IllegalStateException(Code) | | True to prevent scrollbars from appearing regardless of how much text is in the field (equivalent to setting
overflow: hidden, defaults to false).
Parameters: preventScrollbars - true to prevent scrollbars throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
|
|
|