|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro Label API. Label is used to carry the labelling text for another UI element.
Data binding:
The labelFor property must contain the ID of another UI element
in the view. The displayed text is given by the text property
or
is automatically derived from the labeled component.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
Type Classification:
This interface is part of the Web Dynpro API, so applications may reference it or call any method of it, but they must not implement or extend it.
For a detailed explanation of API classification see the Web Dynpro Compatibility Guide| Field Summary | |
static WDLabelDesign |
DEFAULT_DESIGN
Default value of the design property is WDLabelDesign.STANDARD. |
static String |
DEFAULT_LABEL_FOR
Default value of the labelFor property is "". |
static String |
DEFAULT_TEXT
Default value of the text property is "". |
static WDTextDirection |
DEFAULT_TEXT_DIRECTION
Default value of the textDirection property is WDTextDirection.INHERIT. |
static String |
DEFAULT_WIDTH
Default value of the width property is "". |
static boolean |
DEFAULT_WRAPPING
Default value of the wrapping property is false. |
| Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
DEFAULT_ENABLED, DEFAULT_TOOLTIP, DEFAULT_VISIBLE |
| Method Summary | |
void |
bindDesign(IWDAttributeInfo attributeInfo)
Binds the design property to the context attribute specified by the given attribute info. |
void |
bindDesign(String path)
Binds the design property to the context attribute specified by the given path. |
String |
bindingOfDesign()
Returns the binding path of the design property. |
String |
bindingOfText()
Returns the binding path of the text property. |
String |
bindingOfTextDirection()
Returns the binding path of the textDirection property. |
String |
bindingOfWidth()
Returns the binding path of the width property. |
String |
bindingOfWrapping()
Returns the binding path of the wrapping property. |
void |
bindText(IWDAttributeInfo attributeInfo)
Binds the text property to the context attribute specified by the given attribute info. |
void |
bindText(String path)
Binds the text property to the context attribute specified by the given path. |
void |
bindTextDirection(IWDAttributeInfo attributeInfo)
Binds the textDirection property to the context attribute specified by the given attribute info. |
void |
bindTextDirection(String path)
Binds the textDirection property to the context attribute specified by the given path. |
void |
bindWidth(IWDAttributeInfo attributeInfo)
Binds the width property to the context attribute specified by the given attribute info. |
void |
bindWidth(String path)
Binds the width property to the context attribute specified by the given path. |
void |
bindWrapping(IWDAttributeInfo attributeInfo)
Binds the wrapping property to the context attribute specified by the given attribute info. |
void |
bindWrapping(String path)
Binds the wrapping property to the context attribute specified by the given path. |
WDLabelDesign |
getDesign()
Returns the value of the design property.
|
String |
getLabelFor()
Returns the value of the labelFor property.
|
String |
getText()
Returns the value of the text property.
|
WDTextDirection |
getTextDirection()
Returns the value of the textDirection property.
|
String |
getWidth()
Returns the value of the width property.
|
boolean |
getWrapping()
Returns the value of the wrapping property.
|
void |
setDesign(WDLabelDesign value)
Sets the design property to the given value. |
void |
setLabelFor(String labelFor)
Sets the labelFor property to the given value. |
void |
setText(String value)
Sets the text property to the given value. |
void |
setTextDirection(WDTextDirection value)
Sets the textDirection property to the given value. |
void |
setWidth(String value)
Sets the width property to the given value. |
void |
setWrapping(boolean value)
Sets the wrapping property to the given 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 |
destroy, getId, getView, requestFocus |
| Field Detail |
public static final WDLabelDesign DEFAULT_DESIGN
design property is WDLabelDesign.STANDARD.
public static final String DEFAULT_LABEL_FOR
labelFor property is "".
public static final String DEFAULT_TEXT
text property is "".
public static final WDTextDirection DEFAULT_TEXT_DIRECTION
textDirection property is WDTextDirection.INHERIT.
public static final String DEFAULT_WIDTH
width property is "".
public static final boolean DEFAULT_WRAPPING
wrapping property is false.
| Method Detail |
public void bindDesign(String path)
design property to the context attribute specified by the given path.
path - the context path of the attribute to which the design property will be boundpublic void bindDesign(IWDAttributeInfo attributeInfo)
design property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the design property will be boundpublic String bindingOfDesign()
design property.
design property is currently boundpublic WDLabelDesign getDesign()
design property.
The initial value is WDLabelDesign.STANDARD.
design propertysetDesign(WDLabelDesign)public void setDesign(WDLabelDesign value)
design property to the given value.
value - the new value of the design propertygetDesign()public String getLabelFor()
labelFor property.
The initial value is "".
Determines the ID of the labelled component.
labelFor propertysetLabelFor(String)public void setLabelFor(String labelFor)
labelFor property to the given value.
labelFor - the new value of the labelFor propertygetLabelFor()public void bindText(String path)
text property to the context attribute specified by the given path.
path - the context path of the attribute to which the text property will be boundpublic void bindText(IWDAttributeInfo attributeInfo)
text property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the text property will be boundpublic String bindingOfText()
text property.
text property is currently boundpublic String getText()
text property.
The initial value is null.
text propertysetText(String)public void setText(String value)
text property to the given value.
value - the new value of the text propertygetText()public void bindTextDirection(String path)
textDirection property to the context attribute specified by the given path.
path - the context path of the attribute to which the textDirection property will be boundpublic void bindTextDirection(IWDAttributeInfo attributeInfo)
textDirection property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the textDirection property will be boundpublic String bindingOfTextDirection()
textDirection property.
textDirection property is currently boundpublic WDTextDirection getTextDirection()
textDirection property.
The initial value is WDTextDirection.INHERIT.
textDirection propertysetTextDirection(WDTextDirection)public void setTextDirection(WDTextDirection value)
textDirection property to the given value.
value - the new value of the textDirection propertygetTextDirection()public void bindWidth(String path)
width property to the context attribute specified by the given path.
path - the context path of the attribute to which the width property will be boundpublic void bindWidth(IWDAttributeInfo attributeInfo)
width property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the width property will be boundpublic String bindingOfWidth()
width property.
width property is currently boundpublic String getWidth()
width property.
The initial value is "".
width propertysetWidth(String)public void setWidth(String value)
width property to the given value.
value - the new value of the width propertygetWidth()public void bindWrapping(String path)
wrapping property to the context attribute specified by the given path.
path - the context path of the attribute to which the wrapping property will be boundpublic void bindWrapping(IWDAttributeInfo attributeInfo)
wrapping property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the wrapping property will be boundpublic String bindingOfWrapping()
wrapping property.
wrapping property is currently boundpublic boolean getWrapping()
wrapping property.
The initial value is false.
wrapping propertysetWrapping(boolean)public void setWrapping(boolean value)
wrapping property to the given value.
value - the new value of the wrapping propertygetWrapping()
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||