|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro Image API.
Image is used to display an image resource.
The image source is given by an URL specified in source,
if the image cannot be loaded, the alternative text is given by alt.
The size of the image is specified by height and width.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
| Field Summary | |
static java.lang.String |
DEFAULT_ALT
Default value of property alt. |
static int |
DEFAULT_BORDER
Default value of property border. |
static java.lang.String |
DEFAULT_HEIGHT
Default value of property height. |
static java.lang.String |
DEFAULT_SOURCE
Default value of property source. |
static java.lang.String |
DEFAULT_WIDTH
Default value of property width. |
| Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
DEFAULT_ENABLED, DEFAULT_TOOLTIP, DEFAULT_VISIBLE |
| Method Summary | |
void |
bindAlt(IWDAttributeInfo attributeInfo)
Binds property alt to the context attribute
specified by the given attribute info. |
void |
bindAlt(java.lang.String path)
Binds property alt to the context attribute
specified by path. |
void |
bindBorder(IWDAttributeInfo attributeInfo)
Binds property border to the context attribute
specified by the given attribute info. |
void |
bindBorder(java.lang.String path)
Binds property border 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 |
bindingOfAlt()
Binding path of property alt. |
java.lang.String |
bindingOfBorder()
Binding path of property border. |
java.lang.String |
bindingOfHeight()
Binding path of property height. |
java.lang.String |
bindingOfSource()
Binding path of property source. |
java.lang.String |
bindingOfWidth()
Binding path of property width. |
void |
bindSource(IWDAttributeInfo attributeInfo)
Binds property source to the context attribute
specified by the given attribute info. |
void |
bindSource(java.lang.String path)
Binds property source 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. |
java.lang.String |
getAlt()
Returns the value of the alt property. |
int |
getBorder()
Returns the value of the border property. |
java.lang.String |
getHeight()
Returns the value of the height property. |
java.lang.String |
getSource()
Returns the value of the source property. |
java.lang.String |
getWidth()
Returns the value of the width property. |
void |
setAlt(java.lang.String value)
Sets property alt to the new value. |
void |
setBorder(int value)
Sets property border to the new value. |
void |
setHeight(java.lang.String value)
Sets property height to the new value. |
void |
setSource(java.lang.String value)
Sets property source to the new value. |
void |
setWidth(java.lang.String value)
Sets property width 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_ALT
alt.public static final int DEFAULT_BORDER
border.public static final java.lang.String DEFAULT_HEIGHT
height.public static final java.lang.String DEFAULT_SOURCE
source.public static final java.lang.String DEFAULT_WIDTH
width.| Method Detail |
public void bindAlt(java.lang.String path)
alt to the context attribute
specified by path.path - the path of the context attribute to which the alt
property is boundpublic void bindAlt(IWDAttributeInfo attributeInfo)
alt to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
alt property is boundpublic java.lang.String bindingOfAlt()
alt.public java.lang.String getAlt()
alt property.
The initial value is "".
Determines the alternative text for this image.setAlt(String)public void setAlt(java.lang.String value)
alt to the new value.value - the new value of the alt propertygetAlt()public void bindBorder(java.lang.String path)
border to the context attribute
specified by path.path - the path of the context attribute to which the border
property is boundpublic void bindBorder(IWDAttributeInfo attributeInfo)
border to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
border property is boundpublic java.lang.String bindingOfBorder()
border.public int getBorder()
border property.
The initial value is 0.
Determines the width (in pixels) of the image border.setBorder(int)public void setBorder(int value)
border to the new value.value - the new value of the border propertygetBorder()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 "".
Determines the height (CSS size) of this image.setHeight(String)public void setHeight(java.lang.String value)
height to the new value.value - the new value of the height propertygetHeight()public void bindSource(java.lang.String path)
source to the context attribute
specified by path.path - the path of the context attribute to which the source
property is boundpublic void bindSource(IWDAttributeInfo attributeInfo)
source to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
source property is boundpublic java.lang.String bindingOfSource()
source.public java.lang.String getSource()
source property.
The initial value is "".
Determines the URL where this image gets its data.setSource(String)public void setSource(java.lang.String value)
source to the new value.value - the new value of the source propertygetSource()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 "".
Determines the width (CSS size) of this image.setWidth(String)public void setWidth(java.lang.String value)
width to the new value.value - the new value of the width propertygetWidth()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||