|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro TextView API. The TextView UI element provides an area for displaying a multiline text.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
| Field Summary | |
static WDTextViewDesign |
DEFAULT_DESIGN
Default value of property design. |
static WDInputFieldAlignment |
DEFAULT_H_ALIGN
Default value of property hAlign. |
static WDTextViewLayout |
DEFAULT_LAYOUT
Default value of property layout. |
static WDTextViewSemanticColor |
DEFAULT_SEMANTIC_COLOR
Default value of property semanticColor. |
static java.lang.String |
DEFAULT_TEXT
Default value of property text. |
static WDTextDirection |
DEFAULT_TEXT_DIRECTION
Default value of property textDirection. |
static boolean |
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 |
bindDesign(IWDAttributeInfo attributeInfo)
Binds property design to the context attribute
specified by the given attribute info. |
void |
bindDesign(java.lang.String path)
Binds property design to the context attribute
specified by path. |
void |
bindHAlign(IWDAttributeInfo attributeInfo)
Binds property hAlign to the context attribute
specified by the given attribute info. |
void |
bindHAlign(java.lang.String path)
Binds property hAlign to the context attribute
specified by path. |
java.lang.String |
bindingOfDesign()
Binding path of property design. |
java.lang.String |
bindingOfHAlign()
Binding path of property hAlign. |
java.lang.String |
bindingOfLayout()
Binding path of property layout. |
java.lang.String |
bindingOfSemanticColor()
Binding path of property semanticColor. |
java.lang.String |
bindingOfText()
Binding path of property text. |
java.lang.String |
bindingOfTextDirection()
Binding path of property textDirection. |
java.lang.String |
bindingOfWrapping()
Binding path of property wrapping. |
void |
bindLayout(IWDAttributeInfo attributeInfo)
Binds property layout to the context attribute
specified by the given attribute info. |
void |
bindLayout(java.lang.String path)
Binds property layout to the context attribute
specified by path. |
void |
bindSemanticColor(IWDAttributeInfo attributeInfo)
Binds property semanticColor to the context attribute
specified by the given attribute info. |
void |
bindSemanticColor(java.lang.String path)
Binds property semanticColor to the context attribute
specified by path. |
void |
bindText(IWDAttributeInfo attributeInfo)
Binds property text to the context attribute
specified by the given attribute info. |
void |
bindText(java.lang.String path)
Binds property text 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 |
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. |
WDTextViewDesign |
getDesign()
Returns the value of the design property. |
WDInputFieldAlignment |
getHAlign()
Returns the value of the hAlign property. |
WDTextViewLayout |
getLayout()
Returns the value of the layout property. |
WDTextViewSemanticColor |
getSemanticColor()
Returns the value of the semanticColor property. |
java.lang.String |
getText()
Returns the value of the text property. |
WDTextDirection |
getTextDirection()
Returns the value of the textDirection property. |
boolean |
getWrapping()
Returns the value of the wrapping property. |
void |
setDesign(WDTextViewDesign value)
Sets property design to the new value. |
void |
setHAlign(WDInputFieldAlignment value)
Sets property hAlign to the new value. |
void |
setLayout(WDTextViewLayout value)
Sets property layout to the new value. |
void |
setSemanticColor(WDTextViewSemanticColor value)
Sets property semanticColor to the new value. |
void |
setText(java.lang.String value)
Sets property text to the new value. |
void |
setTextDirection(WDTextDirection value)
Sets property textDirection to the new value. |
void |
setWrapping(boolean 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 WDTextViewDesign DEFAULT_DESIGN
design.public static final WDInputFieldAlignment DEFAULT_H_ALIGN
hAlign.public static final WDTextViewLayout DEFAULT_LAYOUT
layout.public static final WDTextViewSemanticColor DEFAULT_SEMANTIC_COLOR
semanticColor.public static final java.lang.String DEFAULT_TEXT
text.public static final WDTextDirection DEFAULT_TEXT_DIRECTION
textDirection.public static final boolean DEFAULT_WRAPPING
wrapping.| Method Detail |
public void bindDesign(java.lang.String path)
design to the context attribute
specified by path.path - the path of the context attribute to which the design
property is boundpublic void bindDesign(IWDAttributeInfo attributeInfo)
design to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
design property is boundpublic java.lang.String bindingOfDesign()
design.public WDTextViewDesign getDesign()
design property.
The initial value is WDTextViewDesign.STANDARD.
Describes the appearance of the TextView UI element.setDesign(WDTextViewDesign)public void setDesign(WDTextViewDesign value)
design to the new value.value - the new value of the design propertygetDesign()public void bindHAlign(java.lang.String path)
hAlign to the context attribute
specified by path.path - the path of the context attribute to which the hAlign
property is boundpublic void bindHAlign(IWDAttributeInfo attributeInfo)
hAlign to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
hAlign property is boundpublic java.lang.String bindingOfHAlign()
hAlign.public WDInputFieldAlignment getHAlign()
hAlign property.
The initial value is WDInputFieldAlignment.AUTO.
Specifies the horizontal alignment of the TextView. It isn't considered if the layout attribute of the TextView has the value native.setHAlign(WDInputFieldAlignment)public void setHAlign(WDInputFieldAlignment value)
hAlign to the new value.value - the new value of the hAlign propertygetHAlign()public void bindLayout(java.lang.String path)
layout to the context attribute
specified by path.path - the path of the context attribute to which the layout
property is boundpublic void bindLayout(IWDAttributeInfo attributeInfo)
layout to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
layout property is boundpublic java.lang.String bindingOfLayout()
layout.public WDTextViewLayout getLayout()
layout property.
The initial value is WDTextViewLayout.NATIVE.
Determines the layout of this text view.setLayout(WDTextViewLayout)public void setLayout(WDTextViewLayout value)
layout to the new value.value - the new value of the layout propertygetLayout()public void bindSemanticColor(java.lang.String path)
semanticColor to the context attribute
specified by path.path - the path of the context attribute to which the semanticColor
property is boundpublic void bindSemanticColor(IWDAttributeInfo attributeInfo)
semanticColor to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
semanticColor property is boundpublic java.lang.String bindingOfSemanticColor()
semanticColor.public WDTextViewSemanticColor getSemanticColor()
semanticColor property.
The initial value is WDTextViewSemanticColor.STANDARD.
Determines the font color of the TextView.setSemanticColor(WDTextViewSemanticColor)public void setSemanticColor(WDTextViewSemanticColor value)
semanticColor to the new value.value - the new value of the semanticColor propertygetSemanticColor()public void bindText(java.lang.String path)
text to the context attribute
specified by path.path - the path of the context attribute to which the text
property is boundpublic void bindText(IWDAttributeInfo attributeInfo)
text to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
text property is boundpublic java.lang.String bindingOfText()
text.public java.lang.String getText()
text property.
The initial value is "".
Determines the text displayed in this text view.setText(String)public void setText(java.lang.String value)
text to the new value.value - the new value of the text propertygetText()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 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 boolean getWrapping()
wrapping property.
The initial value is false.
Determines if the text is wrapped.setWrapping(boolean)public void setWrapping(boolean 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 | |||||||||