public class HTMLImageElement extends HTMLElement
HTMLElement.ProxyDomNode
BEHAVIOR_ID_CLIENT_CAPS, BEHAVIOR_ID_DOWNLOAD, BEHAVIOR_ID_HOMEPAGE
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Constructor and Description |
---|
HTMLImageElement() |
Modifier and Type | Method and Description |
---|---|
String |
getAlign()
Returns the value of the "align" property.
|
String |
getAlt()
Returns the value of the "alt" property.
|
String |
getBorder()
Gets the "border" attribute.
|
boolean |
getComplete()
Support for the image.complete property.
|
String |
getDataFld()
Returns the
dataFld attribute. |
String |
getDataFormatAs()
Returns the
dataFormatAs attribute. |
String |
getDataSrc()
Returns the
dataSrc attribute. |
int |
getHeight()
Returns the value of the "height" property.
|
int |
getNaturalHeight()
Returns the value of the
naturalHeight property. |
int |
getNaturalWidth()
Returns the value of the
naturalWidth property. |
Object |
getOnload()
Returns the onload event handler for this element.
|
String |
getSrc()
Returns the value of the src attribute.
|
int |
getWidth()
Returns the value of the "width" property.
|
protected boolean |
isEndTagForbidden()
Returns whether the end tag is forbidden or not.
|
void |
jsConstructor()
JavaScript constructor.
|
void |
setAlign(String align)
Sets the value of the "align" property.
|
void |
setAlt(String alt)
Returns the value of the "alt" property.
|
void |
setBorder(String border)
Sets the "border" attribute.
|
void |
setDataFld(String dataFld)
Sets the
dataFld attribute. |
void |
setDataFormatAs(String dataFormatAs)
Sets the
dataFormatAs attribute. |
void |
setDataSrc(String dataSrc)
Sets the
dataSrc attribute. |
void |
setDomNode(DomNode domNode)
Sets the DOM node that corresponds to this JavaScript object.
|
void |
setHeight(String height)
Sets the value of the "height" property.
|
void |
setOnload(Object onloadHandler)
Sets the onload event handler for this element.
|
void |
setSrc(String src)
Sets the src attribute.
|
void |
setWidth(String width)
Sets the value of the "width" property.
|
addBehavior, addComponentRequest, blur, clearAttributes, clearComponentRequest, click, compareVersions, createEventHandler, createTextRange, doComponentRequest, doScroll, fixAttributeName, focus, get, getAccessKey, getAlign, getAll, getAttributeNode, getAttributeNodeNS, getAvailHeight, getAvailWidth, getBoundingClientRect, getBoxObject, getBufferDepth, getCh, getChildren, getChOff, getClassList, getClassName_js, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getColorDepth, getComponentVersion, getConnectionType, getCookieEnabled, getCpuClass, getDataset, getDefaultStyleDisplay, getDir, getDisabled, getDocument, getDomNodeOrDie, getDomNodeOrNull, getElementsByClassName, getFilters, getId, getInnerHTML, getInnerText, getJavaEnabled, getLang, getLanguage, getLocalName, getNodeName, getOffsetHeight, getOffsetLeft, getOffsetParent_js, getOffsetTop, getOffsetWidth, getOnchange, getOnsubmit, getOuterHTML, getParentElement, getParentHTMLElement, getPlatform, getPosX, getPosY, getPrefix, getScopeName, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getSpellcheck, getSystemLanguage, getTabIndex, getTagUrn, getTitle, getUniqueID, getUserLanguage, getVAlign, getWidthOrHeight, getWithFallback, hasAttribute, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, isAncestorOfEventTarget, isComponentInstalled, isHomePage, isLowerCaseInOuterHtml, mergeAttributes, navigateHomePage, parseHtmlSnippet, querySelector, querySelectorAll, readAttributes, releaseCapture, removeAttributeNode, removeBehavior, removeExpression, removeNode, scrollIntoView, setAccessKey, setActive, setAlign, setAttribute, setCapture, setCh, setChOff, setClassName_js, setColorAttribute, setDir, setDisabled, setExpression, setHomePage, setId, setInnerHTML, setInnerText, setInnerTextImpl, setLang, setLanguage, setOnchange, setOnsubmit, setOuterHTML, setScrollLeft, setScrollTop, setSpellcheck, setTabIndex, setTagUrn, setTextContent, setTitle, setVAlign, setWidthOrHeight, startDownload, toString
createAttributesObject, getAttribute, getAttributeNS, getAttributes, getBaseURI, getChildElementCount, getCurrentStyle, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getLastElementChild, getNextElementSibling, getPreviousElementSibling, getRuntimeStyle, getStyle, getTagName, getText, hasAttributeNS, removeAttribute, removeAttributeNS, selectNodes, selectSingleNode, setAttributeNode, setAttributeNS, setDefaults
fireEvent, getOnblur, getOnclick, getOncontextmenu, getOndblclick, getOnerror, getOnfocus, getOnfocusin, getOnfocusout, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnpropertychange, getOnresize, setOnblur, setOnclick, setOncontextmenu, setOndblclick, setOnerror, setOnfocus, setOnfocusin, setOnfocusout, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnpropertychange, setOnresize
appendChild, asJavaScriptException, attachEvent, cloneNode, compareDocumentPosition, contains, detachEvent, getBaseName, getChildNodes, getFirstChild, getJavaScriptNode, getLastChild, getNamespaceURI, getNextSibling, getNodeType, getNodeValue, getOwnerDocument, getParent, getParentNode, getPreviousSibling, getTextContent, getXml, hasChildNodes, insertBefore, insertBeforeImpl, isSameNode, normalize, removeChild, replaceChild, setNodeValue
addEventListener, clearEventListenersContainer, dispatchEvent, executeEvent, fireEvent, getEventHandler, getEventHandlerProp, getEventListenersContainer, hasEventHandlers, removeEventListener, setEventHandler, setEventHandlerProp
clone, defineFunctionProperties, defineProperty, equivalentValues, getBrowserVersion, getClassName, getDefaultValue, getPrototype, getScriptableFor, getStartingScope, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, hasInstance, initParentScope, isReadOnlySettable, makeScriptableFor, setCaseSensitive, setClassName, setDomNode, setHtmlElement, setParentScope
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setPrototype, size
public void jsConstructor()
public void setDomNode(DomNode domNode)
setDomNode
in class HTMLElement
domNode
- the DOM nodepublic void setSrc(String src)
src
- the src attribute valuepublic String getSrc()
public void setOnload(Object onloadHandler)
onloadHandler
- the onload event handler for this elementpublic Object getOnload()
public String getAlt()
public void setAlt(String alt)
alt
- the valuepublic String getBorder()
public void setBorder(String border)
border
- the "border" attributepublic String getAlign()
public void setAlign(String align)
align
- the value of the "align" propertypublic int getWidth()
getWidth
in class HTMLElement
public void setWidth(String width)
width
- the value of the "width" propertypublic int getHeight()
getHeight
in class HTMLElement
public void setHeight(String height)
height
- the value of the "height" propertyprotected boolean isEndTagForbidden()
isEndTagForbidden
in class HTMLElement
public boolean getComplete()
public String getDataFld()
dataFld
attribute.dataFld
attributepublic void setDataFld(String dataFld)
dataFld
attribute.dataFld
- dataFld
attributepublic String getDataFormatAs()
dataFormatAs
attribute.dataFormatAs
attributepublic void setDataFormatAs(String dataFormatAs)
dataFormatAs
attribute.dataFormatAs
- dataFormatAs
attributepublic String getDataSrc()
dataSrc
attribute.dataSrc
attributepublic void setDataSrc(String dataSrc)
dataSrc
attribute.dataSrc
- dataSrc
attributepublic int getNaturalWidth()
naturalWidth
property.naturalWidth
propertypublic int getNaturalHeight()
naturalHeight
property.naturalHeight
propertyCopyright © 2002–2015 Gargoyle Software Inc.. All rights reserved.