|
HATS 7.5.1 Web API ReferencePublicly accessible methods not documented here are for IBM internal use only and may change in a future release of the product. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.hats.transform.html.HTMLElement
com.ibm.hats.transform.html.ImageElement
com.ibm.hats.transform.html.LinkedImageElement
public class LinkedImageElement
| Field Summary | |
|---|---|
static String |
CLASSNAME
|
protected static String |
COPYRIGHT
The HsrCopyright.COPYRIGHT field will be updated each release, thereby "magically" updating this class file. |
| Fields inherited from class com.ibm.hats.transform.html.HTMLElement |
|---|
ATTR_ACCESS_KEY, ATTR_ACTION, ATTR_ALT, ATTR_CLASS_NAME, ATTR_DIR, ATTR_FOR, ATTR_HREF, ATTR_ID, ATTR_IMG_ALT, ATTR_MAX_LENGTH, ATTR_NAME, ATTR_ON_BLUR, ATTR_ON_CHANGE, ATTR_ON_CLICK, ATTR_ON_CUT, ATTR_ON_DROP, ATTR_ON_FOCUS, ATTR_ON_KEY_DOWN, ATTR_ON_KEY_PRESS, ATTR_ON_KEY_UP, ATTR_ON_MOUSEDOWN, ATTR_ON_MOUSEOVER, ATTR_ON_PASTE, ATTR_SIZE, ATTR_SRC, ATTR_STYLE, ATTR_TARGET, ATTR_TYPE, ATTR_VALUE, FLAG_CHECKED, FLAG_DISABLED, FLAG_MULTIPLE, FLAG_READ_ONLY, FLAG_SELECTED, tagName |
| Constructor Summary | |
|---|---|
LinkedImageElement()
Class constructor which creates sets the tag name to span
and instantiate an internal ImageElement. |
|
| Method Summary | |
|---|---|
String |
getAlt()
Gets the alternate text for the image to be displayed. |
String |
getOnClick()
Returns the onClick attribute of this HTMLElement. |
String |
getOnMouseover()
Gets the onMouseOver
|
String |
getSrc()
Gets the source URL for the image to be displayed. |
void |
render(StringBuffer buffer)
Append this HTMLElement to the specified StringBuffer. |
void |
renderEndTag(StringBuffer buffer)
Does nothing. |
void |
setAlt(String alt)
Sets the alternate text for the image to be displayed. |
void |
setOnClick(String action)
Sets the onClick attribute of this HTMLElement. |
void |
setOnMouseover(String action)
Sets the onMouseOver
|
void |
setSrc(String src)
Sets the source URL for the image to be displayed. |
| Methods inherited from class com.ibm.hats.transform.html.HTMLElement |
|---|
addFlag, appendClassName, appendStyle, buildTag, buildTag, getAttribute, getClassName, getDir, getId, getName, getStyle, getTagName, hasFlag, removeFlag, render, render, render, renderEndTag, setAlign, setAttribute, setClassName, setDir, setId, setName, setStyle, setTagName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String COPYRIGHT
public static final String CLASSNAME
| Constructor Detail |
|---|
public LinkedImageElement()
span
and instantiate an internal ImageElement.
| Method Detail |
|---|
public void render(StringBuffer buffer)
HTMLElement
render in class HTMLElementpublic void renderEndTag(StringBuffer buffer)
ImageElement
renderEndTag in class ImageElementpublic void setSrc(String src)
ImageElement
setSrc in class ImageElementpublic String getSrc()
ImageElement
getSrc in class ImageElementpublic void setOnClick(String action)
ImageElementonClick attribute of this HTMLElement.
setOnClick in class ImageElementaction - the onClickpublic String getOnClick()
ImageElementonClick attribute of this HTMLElement.
getOnClick in class ImageElementpublic void setOnMouseover(String action)
ImageElementonMouseOver
setOnMouseover in class ImageElementaction - the onMouseOverpublic String getOnMouseover()
ImageElementonMouseOver
getOnMouseover in class ImageElementpublic void setAlt(String alt)
ImageElement
setAlt in class ImageElementpublic String getAlt()
ImageElement
getAlt in class ImageElement
|
HATS 7.5.1 (201005110649) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||