Package com.microstrategy.web.tags
Interface ImageTag
-
- All Superinterfaces:
EnumHTMLTags
,Tag
public interface ImageTag extends Tag
TheImageTag
represents a HTMLimage
tag.- Since:
- MicroStrategy Web 8.0.0
-
-
Field Summary
-
Fields inherited from interface com.microstrategy.web.tags.EnumHTMLTags
ATT_ACTION, ATT_ALIGN, ATT_ALT, ATT_AUTOCOMPLETE, ATT_BORDER, ATT_CELLPADDING, ATT_CELLSPACING, ATT_CHECKED, ATT_CLASS, ATT_CMD_FORMAT_TYPE, ATT_CMDID, ATT_CMDLVL, ATT_COLS, ATT_COLSPAN, ATT_DG, ATT_DIALOG, ATT_DISABLED, ATT_FOR, ATT_HEIGHT, ATT_HREF, ATT_HSPACE, ATT_ID, ATT_IFRAME, ATT_LANGUAGE, ATT_MAXLENGTH, ATT_METHOD, ATT_MODAL, ATT_NAME, ATT_NOWRAP, ATT_ONCHANGE, ATT_ONCLICK, ATT_ONFOCUS, ATT_ONKEYDOWN, ATT_ONKEYUP, ATT_ONMOUSEOUT, ATT_ONMOUSEOVER, ATT_ONSUBMIT, ATT_PARAM, ATT_PLACEHOLDER, ATT_READONLY, ATT_REL, ATT_ROWS, ATT_ROWSPAN, ATT_SCRIPT_CLASS, ATT_SELECTED, ATT_SIZE, ATT_SRC, ATT_STYLE, ATT_SUMMARY, ATT_TARGET, ATT_TITLE, ATT_TY, ATT_TYPE, ATT_VALIGN, ATT_VALUE, ATT_VALUE_ABSBOTTOM, ATT_VALUE_ABSMIDDLE, ATT_VALUE_BOTTOM, ATT_VALUE_BUTTON, ATT_VALUE_CHECKBOX, ATT_VALUE_DEFAULT, ATT_VALUE_EMBED, ATT_VALUE_FALSE, ATT_VALUE_HIDDEN, ATT_VALUE_IMAGE, ATT_VALUE_JAVASCRIPT, ATT_VALUE_LEFT, ATT_VALUE_MAX, ATT_VALUE_MIDDLE, ATT_VALUE_MIN, ATT_VALUE_NUMBER, ATT_VALUE_POST, ATT_VALUE_RADIO, ATT_VALUE_SUBMIT, ATT_VALUE_TEXT, ATT_VALUE_TOP, ATT_VALUE_TRUE, ATT_VSPACE, ATT_WIDTH, TAG_NAME_ANCHOR, TAG_NAME_CELL, TAG_NAME_DIV, TAG_NAME_HEADER, TAG_NAME_IFRAME, TAG_NAME_IMAGE, TAG_NAME_INPUT, TAG_NAME_LABEL, TAG_NAME_MAP, TAG_NAME_OPTION, TAG_NAME_ROW, TAG_NAME_SCRIPT, TAG_NAME_SELECT, TAG_NAME_SPAN, TAG_NAME_STYLE, TAG_NAME_TABLE, TAG_NAME_TBODY, TAG_NAME_TEXTAREA, TAG_NAME_THEAD
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getAlt()
Returns the value of the attributealt
for the image tag.java.lang.String
getHeight()
Returns the value of the attributeheight
for the image tag.java.lang.String
getSrc()
Returns the value of the attributesrc
for the image tag.java.lang.String
getWidth()
Returns the value of the attributewidth
for the image tag.void
setAlt(java.lang.String alt)
Sets a value to the attributealt
for the image tag.void
setHeight(java.lang.String height)
Sets a value to the attributeheight
for the image tag.void
setSrc(java.lang.String src)
Sets a value to the attributesrc
for the image tag.void
setWidth(java.lang.String width)
Sets a value to the attributewidth
for the image tag.-
Methods inherited from interface com.microstrategy.web.tags.Tag
addChild, addChild, addChild, addTextChild, addTextChild, doEndTag, doStartTag, getAttribute, getAttributeNames, getChildren, getContent, getCssClass, getDeepCopy, getId, getLineNumber, getPreserveCase, getRootTag, getSealed, getStyle, getTagName, isClosedRequired, isContentInline, isDynamic, removeChildren, render, render, renderCloseTag, renderOpenTag, renderOpenTag, replaceContent, setAttribute, setAttributes, setCssClass, setDynamic, setId, setIsClosedRequired, setIsContentInline, setLineNumber, setPreserveCase, setRootTag, setSealed, setStyle, setTagName
-
-
-
-
Method Detail
-
getAlt
java.lang.String getAlt()
Returns the value of the attributealt
for the image tag.- Returns:
- the value of the attribute
alt
.
-
getHeight
java.lang.String getHeight()
Returns the value of the attributeheight
for the image tag.- Returns:
- the value of the attribute
height
.
-
getSrc
java.lang.String getSrc()
Returns the value of the attributesrc
for the image tag.- Returns:
- the value of the attribute
src
.
-
getWidth
java.lang.String getWidth()
Returns the value of the attributewidth
for the image tag.- Returns:
- the value of the attribute
width
.
-
setAlt
void setAlt(java.lang.String alt) throws UnmodifiableException
Sets a value to the attributealt
for the image tag. It is equivalent to call the methodsetAttribute(
.EnumHTMLTags.ATT_ALT
, alt)- Parameters:
alt
- a value of the attributealt
.- Throws:
UnmodifiableException
- thrown if the current tag is read-only.
-
setHeight
void setHeight(java.lang.String height) throws UnmodifiableException
Sets a value to the attributeheight
for the image tag. It is equivalent to call the methodsetAttribute(
.EnumHTMLTags.ATT_HEIGHT
, height)- Parameters:
height
- a value of the attributeheight
.- Throws:
UnmodifiableException
- thrown if the current tag is read-only.
-
setSrc
void setSrc(java.lang.String src) throws UnmodifiableException
Sets a value to the attributesrc
for the image tag. It is equivalent to call the methodsetAttribute(
.EnumHTMLTags.ATT_SRC
, src)- Parameters:
src
- a value of the attributesrc
.- Throws:
UnmodifiableException
- thrown if the current tag is read-only.
-
setWidth
void setWidth(java.lang.String width) throws UnmodifiableException
Sets a value to the attributewidth
for the image tag. It is equivalent to call the methodsetAttribute(
.EnumHTMLTags.ATT_WIDTH
, width)- Parameters:
width
- a value of the attributewidth
.- Throws:
UnmodifiableException
- thrown if the current tag is read-only.
-
-