|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.sap.ui.core.client.ControlWidget
com.sap.ui.commons.client.TextFieldWidget
com.sap.ui.commons.client.TextAreaWidget
public class TextAreaWidget
The class TextArea is the GWT wrapper
for the Phoenix control: sap.ui.commons.TextArea.
Control to enter or display multible row text.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
|
TextAreaWidget()
constructs the class TextAreaWidget |
|
TextAreaWidget(String id)
constructs the class TextAreaWidget |
protected |
TextAreaWidget(TextArea control)
constructs the class TextAreaWidget |
| Method Summary | |
|---|---|
int |
getCols()
Getter for property cols
Number of Columns. |
TextArea |
getControl()
returns the reference to the Phoenix Control |
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. |
void |
setCols(int value)
Setter for property cols |
void |
setCursorPos(int value)
Setter for property cursorPos |
void |
setExplanation(String value)
Setter for property explanation |
void |
setHeight(String value)
Setter for property height |
void |
setLabeledBy(String value)
Setter for property labeledBy |
void |
setRows(int value)
Setter for property rows |
void |
setWrapping(com.sap.ui.core.client.Wrapping value)
Setter for property wrapping |
| Methods inherited from class com.sap.ui.commons.client.TextFieldWidget |
|---|
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.ControlWidget |
|---|
destroy, doAttachChildren, doDetachChildren, isDesignTime, wrap |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TextAreaWidget()
TextAreaWidget
public TextAreaWidget(String id)
TextAreaWidget
id - id of the TextAreaWidgetprotected TextAreaWidget(TextArea control)
TextAreaWidget
control - reference to an existing TextArea| Method Detail |
|---|
public TextArea getControl()
Control
getControl in class TextFieldWidgetControlpublic String getHeight()
height
Height of text field. When it is set (CSS-size such as % or px), this is the exact size.
public void setHeight(String value)
height
setHeight in class com.google.gwt.user.client.ui.UIObjectvalue - Stringpublic int getCols()
cols
Number of Columns. Cols means number of characters per row. This proprty is only used if Width is not used.
public void setCols(int value)
cols
value - intpublic int getRows()
rows
Number of Rows. This proprty is only used if Height is not used.
public void setRows(int value)
rows
value - intpublic com.sap.ui.core.client.Wrapping getWrapping()
wrapping
Text wrapping. Possible values are: Soft, Hard, Off.
public void setWrapping(com.sap.ui.core.client.Wrapping value)
wrapping
value - com.sap.ui.core.client.Wrappingpublic 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 void setCursorPos(int value)
cursorPos
value - intpublic String getExplanation()
explanation
text which appears, in case quick-help is switched on
public void setExplanation(String value)
explanation
value - Stringpublic String getLabeledBy()
labeledBy
ID of label control
public void setLabeledBy(String value)
labeledBy
value - String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||