|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.htmlb.Component
com.sapportals.htmlb.Image
Title: Image Description: Creates a link for an image. To avoid problems with text-only UAs as well as to make image content understandable and navigable to users of non-visual UAs, you need to provide a description with ALT, and avoid server-side image maps
Copyright 2004 SAP AG
| Field Summary | |
static String |
UI_ID
|
| Constructor Summary | |
Image(String src,
String alt)
Creates a Image |
|
| Method Summary | |
String |
getAlt()
Returns the alternate text For user agents that cannot display images this attribute specifies alternate text. |
String |
getHeight()
Returns the image height |
HoverMenu |
getHoverMenu()
|
ImageMap |
getImageMap()
Returns the image Map |
String |
getSrc()
Returns the image source |
String |
getTooltip()
gets the Tooltip for this Image. |
String |
getUI()
get a identification String for the renderer that is unique across all supported components. |
String |
getWidth()
Returns the image width |
boolean |
isNested()
|
void |
removerHoverMenu(HoverMenu menu)
|
boolean |
requiresForm()
Determines if this Image requires to be placed in form. |
void |
setAlt(String alt)
Sets the alternate text For user agents that cannot display images this attribute specifies alternate text. |
void |
setHeight(String height)
Sets the height of image |
void |
setHoverMenu(HoverMenu hoverMenu)
|
void |
setImageMap(ImageMap imageMap)
Sets the image Map |
void |
setNested(boolean nested)
|
void |
setSrc(String src)
Sets the image source |
void |
setTooltip(String tooltip)
sets the Tooltip for this Image. |
void |
setWidth(String width)
Sets the width of image |
| Methods inherited from class com.sapportals.htmlb.Component |
getEncodedIdForForm, getId, getParent, initFromPageContext, initFromShortId, initializeFromId, isJsObjectNeeded, preRender, render, renderAsString, setId, setJsObjectNeeded, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String UI_ID
| Constructor Detail |
public Image(String src,
String alt)
src - URI of image to embedalt - The alternate text| Method Detail |
public String getUI()
Component
getUI in class Componentpublic String getSrc()
public void setSrc(String src)
src - URI of image to embedpublic String getTooltip()
public void setTooltip(String tooltip)
tooltip - the tooltip textpublic String getWidth()
public void setWidth(String width)
width - width of image in pixelpublic String getHeight()
public void setHeight(String height)
height - Height of image in pixelpublic String getAlt()
public void setAlt(String alt)
alt - The alternate textpublic ImageMap getImageMap()
public void setImageMap(ImageMap imageMap)
imageMap - the image Mappublic boolean requiresForm()
requiresForm in class Componentpublic HoverMenu getHoverMenu()
public void setHoverMenu(HoverMenu hoverMenu)
public void removerHoverMenu(HoverMenu menu)
public void setNested(boolean nested)
public boolean isNested()
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||