
public class JsImageElement extends JsElement implements ImageElement
ALLOW_KEYBOARD_INPUTATTRIBUTE_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_NODESVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN| Modifier | Constructor and Description |
|---|---|
protected |
JsImageElement() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlign()
Indicates the alignment of the image with respect to the surrounding context.
|
String |
getAlt()
Reflects the
alt
HTML attribute, indicating fallback context for the image. |
String |
getBorder()
Width of the border around the image.
|
String |
getCrossOrigin()
The CORS setting for this image element.
|
int |
getHeight()
Reflects the
height
HTML attribute, indicating the rendered height of the image in CSS pixels. |
int |
getHspace()
Space to the left and right of the image.
|
String |
getLongDesc()
URI of a long description of the image.
|
String |
getLowsrc()
A reference to a low-quality (but faster to load) copy of the image.
|
String |
getName() |
int |
getNaturalHeight()
Intrinsic height of the image in CSS pixels, if it is available; otherwise, 0.
|
int |
getNaturalWidth()
Intrinsic width of the image in CSS pixels, if it is available; otherwise, 0.
|
String |
getSrc()
Reflects the
src
HTML attribute, containing the URL of the image. |
String |
getUseMap()
Reflects the
usemap
HTML attribute, containing a partial URL of a map element. |
int |
getVspace()
Space above and below the image.
|
int |
getWidth()
Reflects the
width
HTML attribute, indicating the rendered width of the image in CSS pixels. |
int |
getX() |
int |
getY() |
boolean |
isComplete()
True if the browser has fetched the image, and it is in a supported image type that was decoded without errors.
|
boolean |
isMap()
Reflects the
ismap
HTML attribute, indicating that the image is part of a server-side image map. |
void |
setAlign(String param_align) |
void |
setAlt(String param_alt) |
void |
setBorder(String param_border) |
void |
setCrossOrigin(String param_crossOrigin) |
void |
setHeight(int param_height) |
void |
setHspace(int param_hspace) |
void |
setIsMap(boolean param_isMap) |
void |
setLongDesc(String param_longDesc) |
void |
setLowsrc(String param_lowsrc) |
void |
setName(String param_name) |
void |
setSrc(String param_src) |
void |
setUseMap(String param_useMap) |
void |
setVspace(int param_vspace) |
void |
setWidth(int param_width) |
blur, click, focus, getAccessKey, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getChildren, getClassList, getClassName, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getContentEditable, getDataset, getDir, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getId, getInnerHTML, getInnerText, getLang, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getOnabort, getOnbeforecopy, getOnbeforecut, getOnbeforepaste, getOnblur, getOnchange, getOnclick, getOncontextmenu, getOncopy, getOncut, getOndblclick, getOndrag, getOndragend, getOndragenter, getOndragleave, getOndragover, getOndragstart, getOndrop, getOnerror, getOnfocus, getOninput, getOninvalid, getOnkeydown, getOnkeypress, getOnkeyup, getOnload, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnmousewheel, getOnpaste, getOnreset, getOnscroll, getOnsearch, getOnselect, getOnselectstart, getOnsubmit, getOntouchcancel, getOntouchend, getOntouchmove, getOntouchstart, getOnwebkitfullscreenchange, getOnwebkitfullscreenerror, getOuterHTML, getOuterText, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getStyle, getTabIndex, getTagName, getTitle, getWebkitdropzone, getWebkitRegionOverflow, hasAttribute, hasAttributeNS, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, isContentEditable, isDraggable, isHidden, isSpellcheck, isTranslate, removeAttribute, removeAttributeNode, removeAttributeNS, scrollByLines, scrollByPages, scrollIntoView, scrollIntoView, scrollIntoViewIfNeeded, scrollIntoViewIfNeeded, setAccessKey, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setContentEditable, setDir, setDraggable, setHidden, setId, setInnerHTML, setInnerText, setLang, setOnabort, setOnbeforecopy, setOnbeforecut, setOnbeforepaste, setOnblur, setOnchange, setOnclick, setOncontextmenu, setOncopy, setOncut, setOndblclick, setOndrag, setOndragend, setOndragenter, setOndragleave, setOndragover, setOndragstart, setOndrop, setOnerror, setOnfocus, setOninput, setOninvalid, setOnkeydown, setOnkeypress, setOnkeyup, setOnload, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnmousewheel, setOnpaste, setOnreset, setOnscroll, setOnsearch, setOnselect, setOnselectstart, setOnsubmit, setOntouchcancel, setOntouchend, setOntouchmove, setOntouchstart, setOnwebkitfullscreenchange, setOnwebkitfullscreenerror, setOuterHTML, setOuterText, setScrollLeft, setScrollTop, setSpellcheck, setTabIndex, setTitle, setTranslate, setWebkitdropzone, webkitMatchesSelector, webkitRequestFullscreen, webkitRequestFullScreenappendChild, cloneNode, compareDocumentPosition, contains, getAttributes, getBaseURI, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getTextContent, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContentaddEventListener, addEventListener, beginElement, beginElementAt, dispatchEvent, endElement, endElementAt, getAnimatedClassName, getAnimatedHeight, getAnimatedHref, getAnimatedResult, getAnimatedTransform, getAnimatedWidth, getAnimatedX, getAnimatedY, getBBox, getChildElementCount, getCTM, getExternalResourcesRequired, getFarthestViewportElement, getFirstElementChild, getLastElementChild, getNearestViewportElement, getNextElementSibling, getPresentationAttribute, getPreserveAspectRatio, getPreviousElementSibling, getRequiredExtensions, getRequiredFeatures, getScreenCTM, getSvgStyle, getSystemLanguage, getTransformToElement, getViewBox, getXmllang, getXmlspace, getZoomAndPan, hasExtension, querySelector, querySelectorAll, removeEventListener, removeEventListener, setXmllang, setXmlspace, setZoomAndPanat, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAtcast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toStringblur, click, focus, getAccessKey, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getChildElementCount, getChildren, getClassList, getClassName, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getContentEditable, getDataset, getDir, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getId, getInnerHTML, getInnerText, getLang, getLastElementChild, getNextElementSibling, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getOnabort, getOnbeforecopy, getOnbeforecut, getOnbeforepaste, getOnblur, getOnchange, getOnclick, getOncontextmenu, getOncopy, getOncut, getOndblclick, getOndrag, getOndragend, getOndragenter, getOndragleave, getOndragover, getOndragstart, getOndrop, getOnerror, getOnfocus, getOninput, getOninvalid, getOnkeydown, getOnkeypress, getOnkeyup, getOnload, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnmousewheel, getOnpaste, getOnreset, getOnscroll, getOnsearch, getOnselect, getOnselectstart, getOnsubmit, getOntouchcancel, getOntouchend, getOntouchmove, getOntouchstart, getOnwebkitfullscreenchange, getOnwebkitfullscreenerror, getOuterHTML, getOuterText, getPreviousElementSibling, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getStyle, getTabIndex, getTagName, getTitle, getWebkitdropzone, getWebkitRegionOverflow, hasAttribute, hasAttributeNS, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, isContentEditable, isDraggable, isHidden, isSpellcheck, isTranslate, querySelector, querySelectorAll, removeAttribute, removeAttributeNode, removeAttributeNS, scrollByLines, scrollByPages, scrollIntoView, scrollIntoView, scrollIntoViewIfNeeded, scrollIntoViewIfNeeded, setAccessKey, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setContentEditable, setDir, setDraggable, setHidden, setId, setInnerHTML, setInnerText, setLang, setOnabort, setOnbeforecopy, setOnbeforecut, setOnbeforepaste, setOnblur, setOnchange, setOnclick, setOncontextmenu, setOncopy, setOncut, setOndblclick, setOndrag, setOndragend, setOndragenter, setOndragleave, setOndragover, setOndragstart, setOndrop, setOnerror, setOnfocus, setOninput, setOninvalid, setOnkeydown, setOnkeypress, setOnkeyup, setOnload, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnmousewheel, setOnpaste, setOnreset, setOnscroll, setOnsearch, setOnselect, setOnselectstart, setOnsubmit, setOntouchcancel, setOntouchend, setOntouchmove, setOntouchstart, setOnwebkitfullscreenchange, setOnwebkitfullscreenerror, setOuterHTML, setOuterText, setScrollLeft, setScrollTop, setSpellcheck, setTabIndex, setTitle, setTranslate, setWebkitdropzone, webkitMatchesSelector, webkitRequestFullscreen, webkitRequestFullScreenaddEventListener, addEventListener, appendChild, cloneNode, compareDocumentPosition, contains, dispatchEvent, getAttributes, getBaseURI, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getTextContent, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, removeEventListener, removeEventListener, replaceChild, setNodeValue, setPrefix, setTextContentintAt, lengthnumberAtpublic final String getAlign()
ImageElementgetAlign in interface ImageElementpublic final void setAlign(String param_align)
setAlign in interface ImageElementpublic final String getAlt()
ImageElementalt
HTML attribute, indicating fallback context for the image.getAlt in interface ImageElementpublic final void setAlt(String param_alt)
setAlt in interface ImageElementpublic final String getBorder()
ImageElementgetBorder in interface ImageElementpublic final void setBorder(String param_border)
setBorder in interface ImageElementpublic final boolean isComplete()
ImageElementisComplete in interface ImageElementpublic final String getCrossOrigin()
ImageElementgetCrossOrigin in interface ImageElementpublic final void setCrossOrigin(String param_crossOrigin)
setCrossOrigin in interface ImageElementpublic final int getHeight()
ImageElementheight
HTML attribute, indicating the rendered height of the image in CSS pixels.getHeight in interface ImageElementpublic final void setHeight(int param_height)
setHeight in interface ImageElementpublic final int getHspace()
ImageElementgetHspace in interface ImageElementpublic final void setHspace(int param_hspace)
setHspace in interface ImageElementpublic final boolean isMap()
ImageElementismap
HTML attribute, indicating that the image is part of a server-side image map.isMap in interface ImageElementpublic final void setIsMap(boolean param_isMap)
setIsMap in interface ImageElementpublic final String getLongDesc()
ImageElementgetLongDesc in interface ImageElementpublic final void setLongDesc(String param_longDesc)
setLongDesc in interface ImageElementpublic final String getLowsrc()
ImageElementgetLowsrc in interface ImageElementpublic final void setLowsrc(String param_lowsrc)
setLowsrc in interface ImageElementpublic final String getName()
getName in interface ImageElementpublic final void setName(String param_name)
setName in interface ImageElementpublic final int getNaturalHeight()
ImageElementgetNaturalHeight in interface ImageElementpublic final int getNaturalWidth()
ImageElementgetNaturalWidth in interface ImageElementpublic final String getSrc()
ImageElementsrc
HTML attribute, containing the URL of the image.getSrc in interface ImageElementpublic final void setSrc(String param_src)
setSrc in interface ImageElementpublic final String getUseMap()
ImageElementusemap
HTML attribute, containing a partial URL of a map element.getUseMap in interface ImageElementpublic final void setUseMap(String param_useMap)
setUseMap in interface ImageElementpublic final int getVspace()
ImageElementgetVspace in interface ImageElementpublic final void setVspace(int param_vspace)
setVspace in interface ImageElementpublic final int getWidth()
ImageElementwidth
HTML attribute, indicating the rendered width of the image in CSS pixels.getWidth in interface ImageElementpublic final void setWidth(int param_width)
setWidth in interface ImageElementpublic final int getX()
getX in interface ImageElementpublic final int getY()
getY in interface ImageElementCopyright © 2016. All rights reserved.