|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro TextEdit API.
TextEdit is used to display and edit several lines of text.
The edited value is given by the value property. The size of the
text edit is given by the cols and rows properties.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
| Field Summary | |
static int |
DEFAULT_COLS
Default value of property cols. |
static java.lang.String |
DEFAULT_HEIGHT
Default value of property height. |
static boolean |
DEFAULT_READ_ONLY
Default value of property readOnly. |
static int |
DEFAULT_ROWS
Default value of property rows. |
static WDState |
DEFAULT_STATE
Default value of property state. |
static WDTextDirection |
DEFAULT_TEXT_DIRECTION
Default value of property textDirection. |
static java.lang.String |
DEFAULT_WIDTH
Default value of property width. |
static WDTextWrapping |
DEFAULT_WRAPPING
Default value of property wrapping. |
| Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
DEFAULT_ENABLED, DEFAULT_TOOLTIP, DEFAULT_VISIBLE |
| Method Summary | |
void |
bindCols(IWDAttributeInfo attributeInfo)
Binds property cols to the context attribute
specified by the given attribute info. |
void |
bindCols(java.lang.String path)
Binds property cols to the context attribute
specified by path. |
void |
bindHeight(IWDAttributeInfo attributeInfo)
Binds property height to the context attribute
specified by the given attribute info. |
void |
bindHeight(java.lang.String path)
Binds property height to the context attribute
specified by path. |
java.lang.String |
bindingOfCols()
Binding path of property cols. |
java.lang.String |
bindingOfHeight()
Binding path of property height. |
java.lang.String |
bindingOfReadOnly()
Binding path of property readOnly. |
java.lang.String |
bindingOfRows()
Binding path of property rows. |
java.lang.String |
bindingOfState()
Binding path of property state. |
java.lang.String |
bindingOfTextDirection()
Binding path of property textDirection. |
java.lang.String |
bindingOfValue()
Note: This property must be bound to the context! Binding path of property value. |
java.lang.String |
bindingOfWidth()
Binding path of property width. |
java.lang.String |
bindingOfWrapping()
Binding path of property wrapping. |
void |
bindReadOnly(IWDAttributeInfo attributeInfo)
Binds property readOnly to the context attribute
specified by the given attribute info. |
void |
bindReadOnly(java.lang.String path)
Binds property readOnly to the context attribute
specified by path. |
void |
bindRows(IWDAttributeInfo attributeInfo)
Binds property rows to the context attribute
specified by the given attribute info. |
void |
bindRows(java.lang.String path)
Binds property rows to the context attribute
specified by path. |
void |
bindState(IWDAttributeInfo attributeInfo)
Binds property state to the context attribute
specified by the given attribute info. |
void |
bindState(java.lang.String path)
Binds property state to the context attribute
specified by path. |
void |
bindTextDirection(IWDAttributeInfo attributeInfo)
Binds property textDirection to the context attribute
specified by the given attribute info. |
void |
bindTextDirection(java.lang.String path)
Binds property textDirection to the context attribute
specified by path. |
void |
bindValue(IWDAttributeInfo attributeInfo)
Note: This property must be bound to the context! Binds property value to the context attribute
specified by the given attribute info. |
void |
bindValue(java.lang.String path)
Note: This property must be bound to the context! Binds property value to the context attribute
specified by path. |
void |
bindWidth(IWDAttributeInfo attributeInfo)
Binds property width to the context attribute
specified by the given attribute info. |
void |
bindWidth(java.lang.String path)
Binds property width to the context attribute
specified by path. |
void |
bindWrapping(IWDAttributeInfo attributeInfo)
Binds property wrapping to the context attribute
specified by the given attribute info. |
void |
bindWrapping(java.lang.String path)
Binds property wrapping to the context attribute
specified by path. |
int |
getCols()
Returns the value of the cols property. |
java.lang.String |
getHeight()
Returns the value of the height property. |
boolean |
getReadOnly()
Returns the value of the readOnly property. |
int |
getRows()
Returns the value of the rows property. |
WDState |
getState()
Returns the value of the state property. |
WDTextDirection |
getTextDirection()
Returns the value of the textDirection property. |
java.lang.String |
getValue()
Note: This property must be bound to the context! Returns the value of the value property. |
java.lang.String |
getWidth()
Returns the value of the width property. |
WDTextWrapping |
getWrapping()
Returns the value of the wrapping property. |
void |
setCols(int value)
Sets property cols to the new value. |
void |
setHeight(java.lang.String value)
Sets property height to the new value. |
void |
setReadOnly(boolean value)
Sets property readOnly to the new value. |
void |
setRows(int value)
Sets property rows to the new value. |
void |
setState(WDState value)
Sets property state to the new value. |
void |
setTextDirection(WDTextDirection value)
Sets property textDirection to the new value. |
void |
setValue(java.lang.String value)
Note: This property must be bound to the context! Sets property value to the new value. |
void |
setWidth(java.lang.String value)
Sets property width to the new value. |
void |
setWrapping(WDTextWrapping value)
Sets property wrapping to the new value. |
| Methods inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
bindEnabled, bindEnabled, bindingOfEnabled, bindingOfTooltip, bindingOfVisible, bindTooltip, bindTooltip, bindVisible, bindVisible, createLayoutData, getContainer, getEnabled, getLayoutData, getTooltip, getVisible, setEnabled, setTooltip, setVisible |
| Methods inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDViewElement |
getId, getView, requestFocus |
| Field Detail |
public static final int DEFAULT_COLS
cols.public static final java.lang.String DEFAULT_HEIGHT
height.public static final boolean DEFAULT_READ_ONLY
readOnly.public static final int DEFAULT_ROWS
rows.public static final WDState DEFAULT_STATE
state.public static final WDTextDirection DEFAULT_TEXT_DIRECTION
textDirection.public static final java.lang.String DEFAULT_WIDTH
width.public static final WDTextWrapping DEFAULT_WRAPPING
wrapping.| Method Detail |
public void bindCols(java.lang.String path)
cols to the context attribute
specified by path.path - the path of the context attribute to which the cols
property is boundpublic void bindCols(IWDAttributeInfo attributeInfo)
cols to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
cols property is boundpublic java.lang.String bindingOfCols()
cols.public int getCols()
cols property.
The initial value is 40.
Determines the number of text columns displayed.setCols(int)public void setCols(int value)
cols to the new value.value - the new value of the cols propertygetCols()public void bindHeight(java.lang.String path)
height to the context attribute
specified by path.path - the path of the context attribute to which the height
property is boundpublic void bindHeight(IWDAttributeInfo attributeInfo)
height to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
height property is boundpublic java.lang.String bindingOfHeight()
height.public java.lang.String getHeight()
height property.
The initial value is "".
The height (CSS size) of the TextEdit.setHeight(String)public void setHeight(java.lang.String value)
height to the new value.value - the new value of the height propertygetHeight()public void bindReadOnly(java.lang.String path)
readOnly to the context attribute
specified by path.path - the path of the context attribute to which the readOnly
property is boundpublic void bindReadOnly(IWDAttributeInfo attributeInfo)
readOnly to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
readOnly property is boundpublic java.lang.String bindingOfReadOnly()
readOnly.public boolean getReadOnly()
readOnly property.
The initial value is false.
Determines if the value of the TextEdit may be edited.setReadOnly(boolean)public void setReadOnly(boolean value)
readOnly to the new value.value - the new value of the readOnly propertygetReadOnly()public void bindRows(java.lang.String path)
rows to the context attribute
specified by path.path - the path of the context attribute to which the rows
property is boundpublic void bindRows(IWDAttributeInfo attributeInfo)
rows to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
rows property is boundpublic java.lang.String bindingOfRows()
rows.public int getRows()
rows property.
The initial value is 5.
Determines the number of text rows displayed.setRows(int)public void setRows(int value)
rows to the new value.value - the new value of the rows propertygetRows()public void bindState(java.lang.String path)
state to the context attribute
specified by path.path - the path of the context attribute to which the state
property is boundpublic void bindState(IWDAttributeInfo attributeInfo)
state to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
state property is boundpublic java.lang.String bindingOfState()
state.public WDState getState()
state property.
The initial value is WDState.NORMAL.
The error state of the text edit element.setState(WDState)public void setState(WDState value)
state to the new value.value - the new value of the state propertygetState()public void bindTextDirection(java.lang.String path)
textDirection to the context attribute
specified by path.path - the path of the context attribute to which the textDirection
property is boundpublic void bindTextDirection(IWDAttributeInfo attributeInfo)
textDirection to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
textDirection property is boundpublic java.lang.String bindingOfTextDirection()
textDirection.public WDTextDirection getTextDirection()
textDirection property.
The initial value is WDTextDirection.INHERIT.
Determines the direction of displayed text.setTextDirection(WDTextDirection)public void setTextDirection(WDTextDirection value)
textDirection to the new value.value - the new value of the textDirection propertygetTextDirection()public void bindValue(java.lang.String path)
value to the context attribute
specified by path.path - the path of the context attribute to which the value
property is boundpublic void bindValue(IWDAttributeInfo attributeInfo)
value to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
value property is boundpublic java.lang.String bindingOfValue()
value.public java.lang.String getValue()
value property.
The initial value is "".
Determines the value edited by this text editor.setValue(String)public void setValue(java.lang.String value)
value to the new value.value - the new value of the value propertygetValue()public void bindWidth(java.lang.String path)
width to the context attribute
specified by path.path - the path of the context attribute to which the width
property is boundpublic void bindWidth(IWDAttributeInfo attributeInfo)
width to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
width property is boundpublic java.lang.String bindingOfWidth()
width.public java.lang.String getWidth()
width property.
The initial value is "".
The width (CSS size) of the TextEdit.setWidth(String)public void setWidth(java.lang.String value)
width to the new value.value - the new value of the width propertygetWidth()public void bindWrapping(java.lang.String path)
wrapping to the context attribute
specified by path.path - the path of the context attribute to which the wrapping
property is boundpublic void bindWrapping(IWDAttributeInfo attributeInfo)
wrapping to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
wrapping property is boundpublic java.lang.String bindingOfWrapping()
wrapping.public WDTextWrapping getWrapping()
wrapping property.
The initial value is WDTextWrapping.SOFT.
Determines how the text is wrapped.setWrapping(WDTextWrapping)public void setWrapping(WDTextWrapping value)
wrapping to the new value.value - the new value of the wrapping propertygetWrapping()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||