|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | 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
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 String |
DEFAULT_IMAGE_ALT
Default value of the imageAlt property is "". |
static boolean |
DEFAULT_IMAGE_FIRST
Default value of the imageFirst property is true. |
static String |
DEFAULT_IMAGE_SOURCE
Default value of the imageSource property is "". |
static WDTextDirection |
DEFAULT_TEXT_DIRECTION
Default value of the textDirection property is WDTextDirection.INHERIT. |
| Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
DEFAULT_ENABLED, DEFAULT_TOOLTIP, DEFAULT_VISIBLE |
| Method Summary | |
void |
bindImageAlt(IWDAttributeInfo attributeInfo)
Deprecated. This property may be withdrawn with the first new NetWeaver release in 2006 as it is no longer needed. Unnecessary attribute if the tooltip contains semantic information about the image. |
void |
bindImageAlt(String path)
Deprecated. This property may be withdrawn with the first new NetWeaver release in 2006 as it is no longer needed. Unnecessary attribute if the tooltip contains semantic information about the image. |
void |
bindImageFirst(IWDAttributeInfo attributeInfo)
Binds the imageFirst property to the context attribute specified by the given attribute info. |
void |
bindImageFirst(String path)
Binds the imageFirst property to the context attribute specified by the given path. |
void |
bindImageSource(IWDAttributeInfo attributeInfo)
Binds the imageSource property to the context attribute specified by the given attribute info. |
void |
bindImageSource(String path)
Binds the imageSource property to the context attribute specified by the given path. |
String |
bindingOfImageAlt()
Deprecated. This property may be withdrawn with the first new NetWeaver release in 2006 as it is no longer needed. Unnecessary attribute if the tooltip contains semantic information about the image. |
String |
bindingOfImageFirst()
Returns the binding path of the imageFirst property. |
String |
bindingOfImageSource()
Returns the binding path of the imageSource property. |
String |
bindingOfTextDirection()
Returns the binding path of the textDirection property. |
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. |
String |
getImageAlt()
Deprecated. This property may be withdrawn with the first new NetWeaver release in 2006 as it is no longer needed. Unnecessary attribute if the tooltip contains semantic information about the image. |
boolean |
getImageFirst()
Returns the value of the imageFirst property.
|
String |
getImageSource()
Returns the value of the imageSource property.
|
WDTextDirection |
getTextDirection()
Returns the value of the textDirection property.
|
void |
setImageAlt(String value)
Deprecated. This property may be withdrawn with the first new NetWeaver release in 2006 as it is no longer needed. Unnecessary attribute if the tooltip contains semantic information about the image. |
void |
setImageFirst(boolean value)
Sets the imageFirst property to the given value. |
void |
setImageSource(String value)
Sets the imageSource property to the given value. |
void |
setTextDirection(WDTextDirection value)
Sets the textDirection 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 String DEFAULT_IMAGE_ALT
imageAlt property is "".
public static final boolean DEFAULT_IMAGE_FIRST
imageFirst property is true.
public static final String DEFAULT_IMAGE_SOURCE
imageSource property is "".
public static final WDTextDirection DEFAULT_TEXT_DIRECTION
textDirection property is WDTextDirection.INHERIT.
| Method Detail |
public void bindImageAlt(String path)
imageAlt property to the context attribute specified by the given path.
path - the context path of the attribute to which the imageAlt property will be boundpublic void bindImageAlt(IWDAttributeInfo attributeInfo)
imageAlt property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the imageAlt property will be boundpublic String bindingOfImageAlt()
imageAlt property.
imageAlt property is currently boundpublic String getImageAlt()
imageAlt property.
The initial value is "".
imageAlt propertysetImageAlt(String)public void setImageAlt(String value)
imageAlt property to the given value.
value - the new value of the imageAlt propertygetImageAlt()public void bindImageFirst(String path)
imageFirst property to the context attribute specified by the given path.
path - the context path of the attribute to which the imageFirst property will be boundpublic void bindImageFirst(IWDAttributeInfo attributeInfo)
imageFirst property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the imageFirst property will be boundpublic String bindingOfImageFirst()
imageFirst property.
imageFirst property is currently boundpublic boolean getImageFirst()
imageFirst property.
The initial value is true.
true)
or on the right of the text.
imageFirst propertysetImageFirst(boolean)public void setImageFirst(boolean value)
imageFirst property to the given value.
value - the new value of the imageFirst propertygetImageFirst()public void bindImageSource(String path)
imageSource property to the context attribute specified by the given path.
path - the context path of the attribute to which the imageSource property will be boundpublic void bindImageSource(IWDAttributeInfo attributeInfo)
imageSource property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the imageSource property will be boundpublic String bindingOfImageSource()
imageSource property.
imageSource property is currently boundpublic String getImageSource()
imageSource property.
The initial value is null.
imageSource propertysetImageSource(String)public void setImageSource(String value)
imageSource property to the given value.
value - the new value of the imageSource propertygetImageSource()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()
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||