public class Img extends HTMLTagWithCoreEvents
XMLContainerImpl.sMode
mContentAndSubtagList
Constructor and Description |
---|
Img() |
Img(CharSequence inSrc) |
Img(XMLNode inXMLNode) |
Modifier and Type | Method and Description |
---|---|
String |
getAlt() |
String |
getBorder() |
String |
getHeight() |
String |
getName() |
String |
getSrc() |
String |
getWidth() |
Img |
setAlign(Align inValue) |
Img |
setAlign(VAlign inValue)
Since an img align attribute allows the normally valign values of 'top'
and 'bottom', this alternate setAlign method takes a VAlign object.
|
Img |
setAlt(String inValue)
Sets the string to be displayed before the image is loaded or in case the
image cannot be loaded.
|
Img |
setBorder(int inValue) |
Img |
setHeight(int inValue) |
Img |
setHeight(String inValue) |
Img |
setId(String inValue) |
Img |
setName(String inValue) |
Img |
setOnClick(String inValue) |
Img |
setOnDblClick(String inValue) |
Img |
setOnKeyDown(String inValue) |
Img |
setOnKeyPress(String inValue) |
Img |
setOnKeyUp(String inValue) |
Img |
setOnMouseDown(String inValue) |
Img |
setOnMouseMove(String inValue) |
Img |
setOnMouseOut(String inValue) |
Img |
setOnMouseOver(String inValue) |
Img |
setOnMouseUp(String inValue) |
Img |
setSrc(CharSequence inValue) |
Img |
setStyle(String inValue) |
Img |
setTitle(String inValue) |
Img |
setUseMap(String inValue) |
Img |
setWidth(int inValue) |
Img |
setWidth(String inValue) |
appendToOnClick, appendToOnDblClick, appendToOnKeyDown, appendToOnKeyPress, appendToOnKeyUp, appendToOnMouseDown, appendToOnMouseMove, appendToOnMouseOut, appendToOnMouseOver, appendToOnMouseUp, getOnClick, getOnDblClick, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp
addClass, addStyle, applyColorSpec, clone, getClassAttribute, getDraggable, getId, getStyle, initFromXMLNode, removeClass, removeStyleProperty, setAttribute, setAttribute, setClass, setDraggable, setStyle, setStyleColor, toHTML, toHTML, toHTML, toIndentedHTML, toIndentedHTML, toIndentedHTML, toText
addSubtag, addSubtag, addXMLNamespaceDeclaration, compareTo, equals, findNodesByAttributeValue, findNodesByAttributeValue, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getEndTag, getNamespace, getQualifiedTagName, getStartTag, getTagName, hasAttribute, hasAttribute, hasAttributes, isEmptyTag, removeAttribute, removeAttribute, replaceCharacterEntities, setAttribute, setAttributes, setContent, setDefaultXMLNamespaceDeclaration, setNamespace, setSortAttributesBeforeWriting, setTagName, setTagName, sortAttributes, toIndentedXML, toIndentedXML, toIndentedXML, toIndentedXML, toString, toXML, toXML, toXML, toXML, useDoubleQuotes, verifyTagName, verifyTagName, verifyTagName, verifyTagName
addContent, addContentWithoutEscaping, addSubtag, addSubtag, addSubtags, clearContent, clearSubtags, getContent, getContentPlusSubtagList, getNextSibling, getOptionalSubtagByName, getOptionalSubtagByName, getOptionalSubtagByName, getOptionalSubtagByName, getParentNode, getPreviousSibling, getRequiredSubtagById, getRequiredSubtagById, getRequiredSubtagByName, getRequiredSubtagByName, getSubtagByAttribute, getSubtagByAttribute, getSubtags, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByClass, getSubtagsByClass, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getTotalTagCount, getUnescapedContent, getXMLNodeSubtags, hasContent, hasContentOrSubtags, indexOf, innerHTML, removeSubtag, removeSubtagsByAttribute, removeSubtagsByAttribute, removeSubtagsByAttribute, removeSubtagsByClass, removeSubtagsByClass, removeSubtagsByName, removeSubtagsByName, removeSubtagsByName, setContent, setParentNode, setSubtags
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findNodesByAttributeValue, findNodesByAttributeValue, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getNamespace, getTagName, hasAttribute, hasAttribute, hasAttributes, isEmptyTag, removeAttribute, removeAttribute, replaceCharacterEntities, setAttribute, setAttributes, setNamespace, setTagName, setTagName, toIndentedXML, verifyTagName, verifyTagName, verifyTagName, verifyTagName
addContent, addContentWithoutEscaping, addSubtag, addSubtags, clearContent, clearSubtags, getContent, getNextSibling, getOptionalSubtagByName, getOptionalSubtagByName, getParentNode, getPreviousSibling, getRequiredSubtagByName, getRequiredSubtagByName, getSubtags, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getTotalTagCount, getUnescapedContent, getXMLNodeSubtags, hasContent, indexOf, removeSubtag, removeSubtagsByName, removeSubtagsByName, setContent, setParentNode, setSubtags
toIndentedXML, toIndentedXML, toIndentedXML, toXML, toXML, toXML
public Img()
public Img(CharSequence inSrc)
public Img setSrc(CharSequence inValue)
public Img setAlt(String inValue)
inValue
- the value to use for the 'alt' attributepublic Img setAlign(VAlign inValue)
inValue
- the value to use for the 'align' attributepublic Img setOnClick(String inValue)
setOnClick
in class HTMLTagWithCoreEvents
public Img setOnDblClick(String inValue)
setOnDblClick
in class HTMLTagWithCoreEvents
public Img setOnMouseDown(String inValue)
setOnMouseDown
in class HTMLTagWithCoreEvents
public Img setOnMouseMove(String inValue)
setOnMouseMove
in class HTMLTagWithCoreEvents
public Img setOnMouseOut(String inValue)
setOnMouseOut
in class HTMLTagWithCoreEvents
public Img setOnMouseOver(String inValue)
setOnMouseOver
in class HTMLTagWithCoreEvents
public Img setOnMouseUp(String inValue)
setOnMouseUp
in class HTMLTagWithCoreEvents
public Img setOnKeyDown(String inValue)
setOnKeyDown
in class HTMLTagWithCoreEvents
public Img setOnKeyPress(String inValue)
setOnKeyPress
in class HTMLTagWithCoreEvents
public Img setOnKeyUp(String inValue)
setOnKeyUp
in class HTMLTagWithCoreEvents