|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.sap.ui.core.client.Element
com.sap.ui.core.client.Control
com.sap.ui.commons.client.TextField
com.sap.ui.commons.client.TextArea
public class TextArea
The class TextArea is the GWT wrapper
for the Phoenix control: sap.ui.commons.TextArea.
Control to enter or display multible row text.
| Constructor Summary | |
|---|---|
protected |
TextArea()
constructs the class TextAreahidden due to JavaScriptObject restriction |
| Method Summary | |
|---|---|
static TextArea |
create()
creates a new instance of the class TextArea |
static TextArea |
create(String idOrConfig)
creates a new instance of the class TextArea |
static TextArea |
create(String id,
String config)
creates a new instance of the class TextArea |
int |
getCols()
Getter for property cols
Number of Columns. |
int |
getCursorPos()
Getter for property cursorPos
Position of cursor, e.g., to let the user re-start typing at the same position as before the server roundtrip |
String |
getExplanation()
Getter for property explanation
text which appears, in case quick-help is switched on |
String |
getHeight()
Getter for property height
Height of text field. |
String |
getLabeledBy()
Getter for property labeledBy
ID of label control |
int |
getRows()
Getter for property rows
Number of Rows. |
com.sap.ui.core.client.Wrapping |
getWrapping()
Getter for property wrapping
Text wrapping. |
TextArea |
setCols(int value)
Setter for property cols |
TextArea |
setCursorPos(int value)
Setter for property cursorPos |
TextArea |
setExplanation(String value)
Setter for property explanation |
TextArea |
setHeight(String value)
Setter for property height |
TextArea |
setLabeledBy(String value)
Setter for property labeledBy |
TextArea |
setRows(int value)
Setter for property rows |
TextArea |
setWrapping(com.sap.ui.core.client.Wrapping value)
Setter for property wrapping |
| Methods inherited from class com.sap.ui.commons.client.TextField |
|---|
attachChangeEvent, bindValue, bindValue, detachChangeEvent, focus, getAccessibleDescription, getAccessibleName, getAccessibleRole, getDesign, getHelpId, getImeMode, getMaxLength, getTextAlign, getTextDirection, getValue, getValueState, getWidth, isEditable, isEnabled, isRequired, isVisible, setAccessibleDescription, setAccessibleName, setAccessibleRole, setDesign, setEditable, setEnabled, setHelpId, setImeMode, setMaxLength, setRequired, setTextAlign, setTextDirection, setValue, setValueState, setVisible, setWidth, unbindValue |
| Methods inherited from class com.sap.ui.core.client.Control |
|---|
addStyleClass, hasStyleClass, invalidate, placeAt, placeAt, removeStyleClass, rerender |
| Methods inherited from class com.sap.ui.core.client.Element |
|---|
_convertArray, _convertArray, _convertArray, _convertArray, _convertArray, attachBrowserEvent, attachEvent, bindAggregation, bindContext, bindProperty, bindProperty, destroy, detachBrowserEvent, detachEvent, getDomRef, getElementName, getId, getLibraryName, getModel, getParent, getProperty, getTooltip_AsString, getTooltip_Text, getTooltip, isActive, setModel, setProperty, setTooltip, setTooltip, unbindAggregation, unbindContext, unbindProperty |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected TextArea()
TextAreaJavaScriptObject restriction
| Method Detail |
|---|
public static TextArea create()
TextArea
public static TextArea create(String idOrConfig)
TextArea
id - id of the TextArea or configuration JSON string
public static TextArea create(String id,
String config)
TextArea
id - id of the TextAreaconfig - configuration JSON stringpublic final String getHeight()
height
Height of text field. When it is set (CSS-size such as % or px), this is the exact size.
public final TextArea setHeight(String value)
height
value - String
this to allow method chainingpublic final int getCols()
cols
Number of Columns. Cols means number of characters per row. This proprty is only used if Width is not used.
public final TextArea setCols(int value)
cols
value - int
this to allow method chainingpublic final int getRows()
rows
Number of Rows. This proprty is only used if Height is not used.
public final TextArea setRows(int value)
rows
value - int
this to allow method chainingpublic final com.sap.ui.core.client.Wrapping getWrapping()
wrapping
Text wrapping. Possible values are: Soft, Hard, Off.
public final TextArea setWrapping(com.sap.ui.core.client.Wrapping value)
wrapping
value - com.sap.ui.core.client.Wrapping
this to allow method chainingpublic final int getCursorPos()
cursorPos
Position of cursor, e.g., to let the user re-start typing at the same position as before the server roundtrip
public final TextArea setCursorPos(int value)
cursorPos
value - int
this to allow method chainingpublic final String getExplanation()
explanation
text which appears, in case quick-help is switched on
public final TextArea setExplanation(String value)
explanation
value - String
this to allow method chainingpublic final String getLabeledBy()
labeledBy
ID of label control
public final TextArea setLabeledBy(String value)
labeledBy
value - String
this to allow method chaining
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||