|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro AbstractCaption API.
AbstractCaption represents a caption composed of a text label and an icon.
The property text determines the displayed caption text.
The displayed image is determined by the URL given by property imageSource.
If the image is not accessible the alternative text given by imageAlt is displayed.
The image position relative to the text is given by the property imageFirst, where imageFirst = true means that the image is displayed on the left of the text.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
IWDCaption| Field Summary | |
static java.lang.String |
DEFAULT_IMAGE_ALT
Default value of property imageAlt. |
static boolean |
DEFAULT_IMAGE_FIRST
Default value of property imageFirst. |
static java.lang.String |
DEFAULT_IMAGE_SOURCE
Default value of property imageSource. |
static WDTextDirection |
DEFAULT_TEXT_DIRECTION
Default value of property textDirection. |
| Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
DEFAULT_ENABLED, DEFAULT_TOOLTIP, DEFAULT_VISIBLE |
| Method Summary | |
void |
bindImageAlt(IWDAttributeInfo attributeInfo)
Binds property imageAlt to the context attribute
specified by the given attribute info. |
void |
bindImageAlt(java.lang.String path)
Binds property imageAlt to the context attribute
specified by path. |
void |
bindImageFirst(IWDAttributeInfo attributeInfo)
Binds property imageFirst to the context attribute
specified by the given attribute info. |
void |
bindImageFirst(java.lang.String path)
Binds property imageFirst to the context attribute
specified by path. |
void |
bindImageSource(IWDAttributeInfo attributeInfo)
Binds property imageSource to the context attribute
specified by the given attribute info. |
void |
bindImageSource(java.lang.String path)
Binds property imageSource to the context attribute
specified by path. |
java.lang.String |
bindingOfImageAlt()
Binding path of property imageAlt. |
java.lang.String |
bindingOfImageFirst()
Binding path of property imageFirst. |
java.lang.String |
bindingOfImageSource()
Binding path of property imageSource. |
java.lang.String |
bindingOfTextDirection()
Binding path of property textDirection. |
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. |
java.lang.String |
getImageAlt()
Returns the value of the imageAlt property. |
boolean |
getImageFirst()
Returns the value of the imageFirst property. |
java.lang.String |
getImageSource()
Returns the value of the imageSource property. |
WDTextDirection |
getTextDirection()
Returns the value of the textDirection property. |
void |
setImageAlt(java.lang.String value)
Sets property imageAlt to the new value. |
void |
setImageFirst(boolean value)
Sets property imageFirst to the new value. |
void |
setImageSource(java.lang.String value)
Sets property imageSource to the new value. |
void |
setTextDirection(WDTextDirection value)
Sets property textDirection 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 java.lang.String DEFAULT_IMAGE_ALT
imageAlt.public static final boolean DEFAULT_IMAGE_FIRST
imageFirst.public static final java.lang.String DEFAULT_IMAGE_SOURCE
imageSource.public static final WDTextDirection DEFAULT_TEXT_DIRECTION
textDirection.| Method Detail |
public void bindImageAlt(java.lang.String path)
imageAlt to the context attribute
specified by path.path - the path of the context attribute to which the imageAlt
property is boundpublic void bindImageAlt(IWDAttributeInfo attributeInfo)
imageAlt to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
imageAlt property is boundpublic java.lang.String bindingOfImageAlt()
imageAlt.public java.lang.String getImageAlt()
imageAlt property.
The initial value is "".
The alternative text displayed if the image cannot be displayed.setImageAlt(String)public void setImageAlt(java.lang.String value)
imageAlt to the new value.value - the new value of the imageAlt propertygetImageAlt()public void bindImageFirst(java.lang.String path)
imageFirst to the context attribute
specified by path.path - the path of the context attribute to which the imageFirst
property is boundpublic void bindImageFirst(IWDAttributeInfo attributeInfo)
imageFirst to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
imageFirst property is boundpublic java.lang.String bindingOfImageFirst()
imageFirst.public boolean getImageFirst()
imageFirst property.
The initial value is true.
Determines if the image is displayed on the left (imageFirst = true)
or on the right of the text.setImageFirst(boolean)public void setImageFirst(boolean value)
imageFirst to the new value.value - the new value of the imageFirst propertygetImageFirst()public void bindImageSource(java.lang.String path)
imageSource to the context attribute
specified by path.path - the path of the context attribute to which the imageSource
property is boundpublic void bindImageSource(IWDAttributeInfo attributeInfo)
imageSource to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
imageSource property is boundpublic java.lang.String bindingOfImageSource()
imageSource.public java.lang.String getImageSource()
imageSource property.
The initial value is null.
The image source given as an URL.setImageSource(String)public void setImageSource(java.lang.String value)
imageSource to the new value.value - the new value of the imageSource propertygetImageSource()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()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||