public class JsImageElement extends JsElement implements ImageElement
ALLOW_KEYBOARD_INPUT
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
SVG_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, webkitRequestFullScreen
appendChild, 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, setTextContent
addEventListener, 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, setZoomAndPan
at, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAt
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
blur, 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, webkitRequestFullScreen
addEventListener, 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, setTextContent
intAt, length
numberAt
public final String getAlign()
ImageElement
getAlign
in interface ImageElement
public final void setAlign(String param_align)
setAlign
in interface ImageElement
public final String getAlt()
ImageElement
alt
HTML attribute, indicating fallback context for the image.getAlt
in interface ImageElement
public final void setAlt(String param_alt)
setAlt
in interface ImageElement
public final String getBorder()
ImageElement
getBorder
in interface ImageElement
public final void setBorder(String param_border)
setBorder
in interface ImageElement
public final boolean isComplete()
ImageElement
isComplete
in interface ImageElement
public final String getCrossOrigin()
ImageElement
getCrossOrigin
in interface ImageElement
public final void setCrossOrigin(String param_crossOrigin)
setCrossOrigin
in interface ImageElement
public final int getHeight()
ImageElement
height
HTML attribute, indicating the rendered height of the image in CSS pixels.getHeight
in interface ImageElement
public final void setHeight(int param_height)
setHeight
in interface ImageElement
public final int getHspace()
ImageElement
getHspace
in interface ImageElement
public final void setHspace(int param_hspace)
setHspace
in interface ImageElement
public final boolean isMap()
ImageElement
ismap
HTML attribute, indicating that the image is part of a server-side image map.isMap
in interface ImageElement
public final void setIsMap(boolean param_isMap)
setIsMap
in interface ImageElement
public final String getLongDesc()
ImageElement
getLongDesc
in interface ImageElement
public final void setLongDesc(String param_longDesc)
setLongDesc
in interface ImageElement
public final String getLowsrc()
ImageElement
getLowsrc
in interface ImageElement
public final void setLowsrc(String param_lowsrc)
setLowsrc
in interface ImageElement
public final String getName()
getName
in interface ImageElement
public final void setName(String param_name)
setName
in interface ImageElement
public final int getNaturalHeight()
ImageElement
getNaturalHeight
in interface ImageElement
public final int getNaturalWidth()
ImageElement
getNaturalWidth
in interface ImageElement
public final String getSrc()
ImageElement
src
HTML attribute, containing the URL of the image.getSrc
in interface ImageElement
public final void setSrc(String param_src)
setSrc
in interface ImageElement
public final String getUseMap()
ImageElement
usemap
HTML attribute, containing a partial URL of a map element.getUseMap
in interface ImageElement
public final void setUseMap(String param_useMap)
setUseMap
in interface ImageElement
public final int getVspace()
ImageElement
getVspace
in interface ImageElement
public final void setVspace(int param_vspace)
setVspace
in interface ImageElement
public final int getWidth()
ImageElement
width
HTML attribute, indicating the rendered width of the image in CSS pixels.getWidth
in interface ImageElement
public final void setWidth(int param_width)
setWidth
in interface ImageElement
public final int getX()
getX
in interface ImageElement
public final int getY()
getY
in interface ImageElement
Copyright © 2016. All rights reserved.