Class HTMLImageElementImpl
java.lang.Object
org.loboevolution.js.AbstractScriptableDelegate
org.loboevolution.html.dom.nodeimpl.event.EventTargetImpl
org.loboevolution.html.dom.nodeimpl.NodeImpl
org.loboevolution.html.dom.nodeimpl.ElementImpl
org.loboevolution.html.dom.domimpl.HTMLElementImpl
org.loboevolution.html.dom.domimpl.HTMLImageElementImpl
- All Implemented Interfaces:
Cloneable
,EventTarget
,GlobalEventHandlers
,CanvasImageSource
,ImageBitmapSource
,HTMLElement
,HTMLImageElement
,ModelNode
,Element
,InnerHTML
,Node
,NonDocumentTypeChildNode
,ParentNode
,CSSPropertiesContext
,ScriptableDelegate
public class HTMLImageElementImpl
extends HTMLElementImpl
implements HTMLImageElement, CanvasImageSource
HTMLImageElementImpl class.
-
Field Summary
Fields inherited from class org.loboevolution.html.dom.nodeimpl.NodeImpl
document, nodeList, notificationsSuspended, parentNode, uiNode
Fields inherited from interface org.loboevolution.html.node.Node
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, NONE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
-
Constructor Summary
ConstructorDescriptionConstructor for HTMLImageElementImpl.HTMLImageElementImpl
(String name) Constructor for HTMLImageElementImpl. -
Method Summary
Modifier and TypeMethodDescriptionvoid
assignAttributeField
(String normalName, String value) protected RenderState
createRenderState
(RenderState prevRenderState) createRenderState.void
draw
(ImgSvgControl imgSvgControl) draw.getAlign()
Sets or retrieves how the object is aligned with adjacent text.getAlt()
Sets or retrieves a text alternative to the graphic.Specifies the properties of a border drawn around an object.getCrossOrigin.getCurrentSrc.getDecoding.double
Sets or retrieves the height of the object.double
Sets or retrieves the width of the border to draw around the object.Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.getLowsrc.getName()
Sets or retrieves the name of the object.double
The original height of the image resource before sizing.double
The original width of the image resource before sizing.getOnload.getReferrerPolicy.getSizes()
getSizes.getSrc()
The address or URL of the a media resource that is to be considered.getSrcset.Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.double
Sets or retrieves the vertical margin for the object.double
getWidth()
Sets or retrieves the width of the object.double
getX()
getX.double
getY()
getY.boolean
Retrieves whether the object is fully loaded.boolean
isIsMap()
Sets or retrieves whether the image is a server-side image map.void
setAlign.void
setAlt.void
setBorder.void
setCrossOrigin
(String crossOrigin) setCrossOrigin.void
setDecoding
(Decoding decoding) setDecoding.void
setHeight
(double height) setHeight.void
setHspace
(double hspace) setHspace.void
setIsMap
(boolean isMap) setIsMap.void
setLongDesc
(String longDesc) setLongDesc.void
setLowsrc.void
setName.void
Sets onload.void
setReferrerPolicy
(String referrerPolicy) setReferrerPolicy.void
setSizes.void
setSrc.void
setSrcset.void
setUseMap.void
setVspace
(double vspace) setVspace.void
setWidth
(double width) setWidth.toString()
Methods inherited from class org.loboevolution.html.dom.domimpl.HTMLElementImpl
click, findStyleDeclarations, forgetLocalStyle, forgetStyle, getAccessKey, getAccessKeyLabel, getAncestorForJavaClass, getAttributeAsBoolean, getAttributeAsInt, getAutocapitalize, getCharset, getComputedStyle, getComputedStyle, getContentEditable, getCurrentStyle, getDocumentBaseURI, getFormInputs, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getOnabort, getOnanimationcancel, getOnanimationend, getOnanimationiteration, getOnanimationstart, getOnauxclick, getOnblur, getOncancel, getOncanplay, getOncanplaythrough, getOnchange, getOnclick, getOnclose, getOncontextmenu, getOncuechange, getOndblclick, getOndrag, getOndragend, getOndragenter, getOndragexit, getOndragleave, getOndragover, getOndragstart, getOndrop, getOndurationchange, getOnemptied, getOnended, getOnerror, getOnfocus, getOnfocusin, getOnfocusout, getOnfullscreenchange, getOngotpointercapture, getOninput, getOninvalid, getOnkeydown, getOnkeypress, getOnkeyup, getOnloadeddata, getOnloadedmetadata, getOnloadend, getOnloadstart, getOnlostpointercapture, getOnmousedown, getOnmouseenter, getOnmouseleave, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnpause, getOnplay, getOnplaying, getOnpointercancel, getOnpointerdown, getOnpointerenter, getOnpointerleave, getOnpointermove, getOnpointerout, getOnpointerover, getOnpointerup, getOnprogress, getOnratechange, getOnreset, getOnresize, getOnscroll, getOnsecuritypolicyviolation, getOnseeked, getOnseeking, getOnselect, getOnselectionchange, getOnselectstart, getOnstalled, getOnsubmit, getOnsuspend, getOntimeupdate, getOntoggle, getOntouchcancel, getOntouchend, getOntouchmove, getOntouchstart, getOntransitioncancel, getOntransitionend, getOntransitionrun, getOntransitionstart, getOnvolumechange, getOnwaiting, getOnwheel, getParent, getParentStyle, getStyle, informInvalid, informInvalidAttibute, isDraggable, isHidden, isSpellcheck, isTranslate, setAccessKey, setAutocapitalize, setCharset, setContentEditable, setDraggable, setHidden, setMouseOver, setOnabort, setOnanimationcancel, setOnanimationend, setOnanimationiteration, setOnanimationstart, setOnauxclick, setOnblur, setOncancel, setOncanplay, setOncanplaythrough, setOnchange, setOnclick, setOnclose, setOncontextmenu, setOncuechange, setOndblclick, setOndrag, setOndragend, setOndragenter, setOndragexit, setOndragleave, setOndragover, setOndragstart, setOndrop, setOndurationchange, setOnemptied, setOnended, setOnerror, setOnfocus, setOnfocusin, setOnfocusout, setOngotpointercapture, setOninput, setOninvalid, setOnkeydown, setOnkeypress, setOnkeyup, setOnloadeddata, setOnloadedmetadata, setOnloadend, setOnloadstart, setOnlostpointercapture, setOnmousedown, setOnmouseenter, setOnmouseleave, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnoffline, setOnpause, setOnplay, setOnplaying, setOnpointercancel, setOnpointerdown, setOnpointerenter, setOnpointerleave, setOnpointermove, setOnpointerout, setOnpointerover, setOnpointerup, setOnprogress, setOnratechange, setOnreset, setOnresize, setOnscroll, setOnsecuritypolicyviolation, setOnseeked, setOnseeking, setOnselect, setOnselectionchange, setOnselectstart, setOnstalled, setOnsubmit, setOnsuspend, setOntimeupdate, setOntoggle, setOntouchcancel, setOntouchend, setOntouchmove, setOntouchstart, setOntransitioncancel, setOntransitionend, setOntransitionrun, setOntransitionstart, setOnvolumechange, setOnwaiting, setOnwheel, setSpellcheck, setStyle, setTranslate, warn, warn
Methods inherited from class org.loboevolution.html.dom.nodeimpl.ElementImpl
appendOuterHTMLImpl, calculateHeight, calculateWidth, closest, getAttribute, getAttributeNames, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBoundingClientRect, getChildElementCount, getClassList, getClassName, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getDir, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getId, getInnerHTML, getInnerText, getLang, getLastElementChild, getLocalName, getNodeName, getNodeType, getNodeValue, getOuterHTML, getRawInnerText, getSchemaTypeInfo, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getSlot, getTagName, getTitle, hasAttribute, hasAttributeNS, hasAttributes, hasPointerCapture, htmlEncodeChildText, insertAdjacentElement, insertAdjacentHTML, isEqualNode, matches, querySelector, querySelectorAll, releasePointerCapture, removeAttribute, removeAttributeNode, removeAttributeNS, requestPointerLock, scroll, scrollBy, scrollIntoView, scrollIntoView, scrollTo, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setDir, setId, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInnerHTML, setInnerText, setLang, setNodeValue, setOuterHTML, setPointerCapture, setScrollLeft, setScrollTop, setSlot, setTitle, toggleAttribute, toggleAttribute
Methods inherited from class org.loboevolution.html.dom.nodeimpl.NodeImpl
appendChild, appendInnerHTMLImpl, appendInnerTextImpl, clone, cloneNode, cloneNode, compareDocumentPosition, contains, findUINode, forgetRenderState, getATTRIBUTE_NODE, getBaseURI, getCDATA_SECTION_NODE, getChildIndex, getChildNodes, getChildren, getCOMMENT_NODE, getDescendents, getDOCUMENT_FRAGMENT_NODE, getDOCUMENT_NODE, getDOCUMENT_POSITION_CONTAINED_BY, getDOCUMENT_POSITION_CONTAINS, getDOCUMENT_POSITION_DISCONNECTED, getDOCUMENT_POSITION_FOLLOWING, getDOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, getDOCUMENT_POSITION_PRECEDING, getDOCUMENT_TYPE_NODE, getDocumentItem, getDocumentNode, getDocumentURL, getELEMENT_NODE, getENTITY_NODE, getENTITY_REFERENCE_NODE, getFeature, getFirstChild, getFirstChildByFilter, getFullURL, getHtmlRendererConfig, getHtmlRendererContext, getLastChild, getNamespaceURI, getNextElementSibling, getNextSibling, getNodeList, getNONE, getNOTATION_NODE, getOwnerDocument, getParentElement, getParentModelNode, getParentNode, getParentRenderState, getPrefix, getPreviousElementSibling, getPreviousSibling, getPROCESSING_INSTRUCTION_NODE, getRenderState, getRootNode, getTEXT_NODE, getTextContent, getUINode, getUserAgentContext, getUserData, hasChildNodes, informLayoutInvalid, informLookInvalid, informNodeLoaded, informPositionInvalid, informSizeInvalid, informStructureInvalid, insertAfter, insertAt, insertBefore, isDefaultNamespace, isEqualOrDescendentOf, isIsConnected, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prepend, prependChild, removeChild, removeChildAt, removeChildrenImpl, removeTableChildren, replaceAdjacentTextNodes, replaceChild, setDocumentItem, setOwnerDocument, setOwnerDocument, setParentImpl, setPrefix, setTextContent, setUINode, setUserData, visit, visitImpl
Methods inherited from class org.loboevolution.html.dom.nodeimpl.event.EventTargetImpl
addEventListener, addEventListener, dispatchEvent, dispatchEvent, getFunction, removeEventListener, removeEventListener
Methods inherited from class org.loboevolution.js.AbstractScriptableDelegate
getScriptable, setScriptable
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.loboevolution.html.style.CSSPropertiesContext
informLayoutInvalid, informLookInvalid, informPositionInvalid, informSizeInvalid
Methods inherited from interface org.loboevolution.html.node.Element
closest, getAttribute, getAttributeNames, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getClassList, getClassName, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getId, getInnerHTML, getLocalName, getNamespaceURI, getOuterHTML, getPrefix, getSchemaTypeInfo, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getSlot, getTagName, hasAttribute, hasAttributeNS, hasPointerCapture, insertAdjacentElement, insertAdjacentHTML, matches, releasePointerCapture, removeAttribute, removeAttributeNode, removeAttributeNS, requestPointerLock, scroll, scrollBy, scrollIntoView, scrollIntoView, scrollTo, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setId, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOuterHTML, setPointerCapture, setScrollLeft, setScrollTop, setSlot, toggleAttribute, toggleAttribute
Methods inherited from interface org.loboevolution.events.EventTarget
addEventListener, addEventListener, dispatchEvent, dispatchEvent, removeEventListener, removeEventListener
Methods inherited from interface org.loboevolution.events.GlobalEventHandlers
addAbortEventListener, addAbortEventListener, addAnimationCancelEventListener, addAnimationCancelEventListener, addAnimationEndEventListener, addAnimationEndEventListener, addAnimationIterationEventListener, addAnimationIterationEventListener, addAnimationStartEventListener, addAnimationStartEventListener, addAuxClickEventListener, addAuxClickEventListener, addBlurEventListener, addBlurEventListener, addCancelEventListener, addCancelEventListener, addCanPlayEventListener, addCanPlayEventListener, addCanPlayThroughEventListener, addCanPlayThroughEventListener, addChangeEventListener, addChangeEventListener, addClickEventListener, addClickEventListener, addCloseEventListener, addCloseEventListener, addContextMenuEventListener, addContextMenuEventListener, addCueChangeEventListener, addCueChangeEventListener, addDblClickEventListener, addDblClickEventListener, addDragEndEventListener, addDragEndEventListener, addDragEnterEventListener, addDragEnterEventListener, addDragEventListener, addDragEventListener, addDragExitEventListener, addDragExitEventListener, addDragLeaveEventListener, addDragLeaveEventListener, addDragOverEventListener, addDragOverEventListener, addDragStartEventListener, addDragStartEventListener, addDropEventListener, addDropEventListener, addDurationChangeEventListener, addDurationChangeEventListener, addEmptiedEventListener, addEmptiedEventListener, addEndedEventListener, addEndedEventListener, addErrorEventListener, addErrorEventListener, addFocusEventListener, addFocusEventListener, addFocusInEventListener, addFocusInEventListener, addFocusOutEventListener, addFocusOutEventListener, addGotPointerCaptureEventListener, addGotPointerCaptureEventListener, addInputEventListener, addInputEventListener, addInvalidEventListener, addInvalidEventListener, addKeyDownEventListener, addKeyDownEventListener, addKeyPressEventListener, addKeyPressEventListener, addKeyUpEventListener, addKeyUpEventListener, addLoadedDataEventListener, addLoadedDataEventListener, addLoadedMetaDataEventListener, addLoadedMetaDataEventListener, addLoadEndEventListener, addLoadEndEventListener, addLoadEventListener, addLoadEventListener, addLoadStartEventListener, addLoadStartEventListener, addLostPointerCaptureEventListener, addLostPointerCaptureEventListener, addMouseDownEventListener, addMouseDownEventListener, addMouseEnterEventListener, addMouseEnterEventListener, addMouseLeaveEventListener, addMouseLeaveEventListener, addMouseMoveEventListener, addMouseMoveEventListener, addMouseOutEventListener, addMouseOutEventListener, addMouseOverEventListener, addMouseOverEventListener, addMouseUpEventListener, addMouseUpEventListener, addPauseEventListener, addPauseEventListener, addPlayEventListener, addPlayEventListener, addPlayingEventListener, addPlayingEventListener, addPointerCancelEventListener, addPointerCancelEventListener, addPointerDownEventListener, addPointerDownEventListener, addPointerEnterEventListener, addPointerEnterEventListener, addPointerLeaveEventListener, addPointerLeaveEventListener, addPointerMoveEventListener, addPointerMoveEventListener, addPointerOutEventListener, addPointerOutEventListener, addPointerOverEventListener, addPointerOverEventListener, addPointerUpEventListener, addPointerUpEventListener, addProgressEventListener, addProgressEventListener, addRateChangeEventListener, addRateChangeEventListener, addResetEventListener, addResetEventListener, addResizeEventListener, addResizeEventListener, addScrollEventListener, addScrollEventListener, addSecurityPolicyViolationEventListener, addSecurityPolicyViolationEventListener, addSeekedEventListener, addSeekedEventListener, addSeekingEventListener, addSeekingEventListener, addSelectEventListener, addSelectEventListener, addSelectionChangeEventListener, addSelectionChangeEventListener, addSelectStartEventListener, addSelectStartEventListener, addStalledEventListener, addStalledEventListener, addSubmitEventListener, addSubmitEventListener, addSuspendEventListener, addSuspendEventListener, addTimeUpdateEventListener, addTimeUpdateEventListener, addToggleEventListener, addToggleEventListener, addTouchCancelEventListener, addTouchCancelEventListener, addTouchEndEventListener, addTouchEndEventListener, addTouchMoveEventListener, addTouchMoveEventListener, addTouchStartEventListener, addTouchStartEventListener, addTransitionCancelEventListener, addTransitionCancelEventListener, addTransitionEndEventListener, addTransitionEndEventListener, addTransitionRunEventListener, addTransitionRunEventListener, addTransitionStartEventListener, addTransitionStartEventListener, addVolumeChangeEventListener, addVolumeChangeEventListener, addWaitingEventListener, addWaitingEventListener, addWheelEventListener, addWheelEventListener, removeAbortEventListener, removeAbortEventListener, removeAnimationCancelEventListener, removeAnimationCancelEventListener, removeAnimationEndEventListener, removeAnimationEndEventListener, removeAnimationIterationEventListener, removeAnimationIterationEventListener, removeAnimationStartEventListener, removeAnimationStartEventListener, removeAuxClickEventListener, removeAuxClickEventListener, removeBlurEventListener, removeBlurEventListener, removeCancelEventListener, removeCancelEventListener, removeCanPlayEventListener, removeCanPlayEventListener, removeCanPlayThroughEventListener, removeCanPlayThroughEventListener, removeChangeEventListener, removeChangeEventListener, removeClickEventListener, removeClickEventListener, removeCloseEventListener, removeCloseEventListener, removeContextMenuEventListener, removeContextMenuEventListener, removeCueChangeEventListener, removeCueChangeEventListener, removeDblClickEventListener, removeDblClickEventListener, removeDragEndEventListener, removeDragEndEventListener, removeDragEnterEventListener, removeDragEnterEventListener, removeDragEventListener, removeDragEventListener, removeDragExitEventListener, removeDragExitEventListener, removeDragLeaveEventListener, removeDragLeaveEventListener, removeDragOverEventListener, removeDragOverEventListener, removeDragStartEventListener, removeDragStartEventListener, removeDropEventListener, removeDropEventListener, removeDurationChangeEventListener, removeDurationChangeEventListener, removeEmptiedEventListener, removeEmptiedEventListener, removeEndedEventListener, removeEndedEventListener, removeErrorEventListener, removeErrorEventListener, removeFocusEventListener, removeFocusEventListener, removeFocusInEventListener, removeFocusInEventListener, removeFocusOutEventListener, removeFocusOutEventListener, removeGotPointerCaptureEventListener, removeGotPointerCaptureEventListener, removeInputEventListener, removeInputEventListener, removeInvalidEventListener, removeInvalidEventListener, removeKeyDownEventListener, removeKeyDownEventListener, removeKeyPressEventListener, removeKeyPressEventListener, removeKeyUpEventListener, removeKeyUpEventListener, removeLoadedDataEventListener, removeLoadedDataEventListener, removeLoadedMetaDataEventListener, removeLoadedMetaDataEventListener, removeLoadEndEventListener, removeLoadEndEventListener, removeLoadEventListener, removeLoadEventListener, removeLoadStartEventListener, removeLoadStartEventListener, removeLostPointerCaptureEventListener, removeLostPointerCaptureEventListener, removeMouseDownEventListener, removeMouseDownEventListener, removeMouseEnterEventListener, removeMouseEnterEventListener, removeMouseLeaveEventListener, removeMouseLeaveEventListener, removeMouseMoveEventListener, removeMouseMoveEventListener, removeMouseOutEventListener, removeMouseOutEventListener, removeMouseOverEventListener, removeMouseOverEventListener, removeMouseUpEventListener, removeMouseUpEventListener, removePauseEventListener, removePauseEventListener, removePlayEventListener, removePlayEventListener, removePlayingEventListener, removePlayingEventListener, removePointerCancelEventListener, removePointerCancelEventListener, removePointerDownEventListener, removePointerDownEventListener, removePointerEnterEventListener, removePointerEnterEventListener, removePointerLeaveEventListener, removePointerLeaveEventListener, removePointerMoveEventListener, removePointerMoveEventListener, removePointerOutEventListener, removePointerOutEventListener, removePointerOverEventListener, removePointerOverEventListener, removePointerUpEventListener, removePointerUpEventListener, removeProgressEventListener, removeProgressEventListener, removeRateChangeEventListener, removeRateChangeEventListener, removeResetEventListener, removeResetEventListener, removeResizeEventListener, removeResizeEventListener, removeScrollEventListener, removeScrollEventListener, removeSecurityPolicyViolationEventListener, removeSecurityPolicyViolationEventListener, removeSeekedEventListener, removeSeekedEventListener, removeSeekingEventListener, removeSeekingEventListener, removeSelectEventListener, removeSelectEventListener, removeSelectionChangeEventListener, removeSelectionChangeEventListener, removeSelectStartEventListener, removeSelectStartEventListener, removeStalledEventListener, removeStalledEventListener, removeSubmitEventListener, removeSubmitEventListener, removeSuspendEventListener, removeSuspendEventListener, removeTimeUpdateEventListener, removeTimeUpdateEventListener, removeToggleEventListener, removeToggleEventListener, removeTouchCancelEventListener, removeTouchCancelEventListener, removeTouchEndEventListener, removeTouchEndEventListener, removeTouchMoveEventListener, removeTouchMoveEventListener, removeTouchStartEventListener, removeTouchStartEventListener, removeTransitionCancelEventListener, removeTransitionCancelEventListener, removeTransitionEndEventListener, removeTransitionEndEventListener, removeTransitionRunEventListener, removeTransitionRunEventListener, removeTransitionStartEventListener, removeTransitionStartEventListener, removeVolumeChangeEventListener, removeVolumeChangeEventListener, removeWaitingEventListener, removeWaitingEventListener, removeWheelEventListener, removeWheelEventListener
Methods inherited from interface org.loboevolution.html.dom.HTMLElement
click, getAccessKey, getAccessKeyLabel, getAutocapitalize, getContentEditable, getDir, getInnerText, getLang, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getTitle, isDraggable, isHidden, isSpellcheck, isTranslate, setAccessKey, setAutocapitalize, setContentEditable, setDir, setDraggable, setHidden, setInnerText, setLang, setSpellcheck, setTitle, setTranslate
Methods inherited from interface org.loboevolution.html.node.InnerHTML
setInnerHTML
Methods inherited from interface org.loboevolution.html.node.Node
appendChild, cloneNode, cloneNode, compareDocumentPosition, contains, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getRootNode, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isIsConnected, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prepend, prependChild, removeChild, replaceChild, setNodeValue, setOwnerDocument, setPrefix, setTextContent, setUserData
Methods inherited from interface org.loboevolution.html.node.NonDocumentTypeChildNode
getNextElementSibling, getPreviousElementSibling
Methods inherited from interface org.loboevolution.html.node.ParentNode
getChildElementCount, getChildren, getFirstElementChild, getLastElementChild, querySelector, querySelectorAll
-
Constructor Details
-
HTMLImageElementImpl
public HTMLImageElementImpl()Constructor for HTMLImageElementImpl.
-
HTMLImageElementImpl
Constructor for HTMLImageElementImpl.
- Parameters:
name
- aString
object.
-
-
Method Details
-
assignAttributeField
- Overrides:
assignAttributeField
in classHTMLElementImpl
-
createRenderState
createRenderState.
- Overrides:
createRenderState
in classHTMLElementImpl
- Parameters:
prevRenderState
- aRenderState
object.- Returns:
- a
RenderState
object.
-
getAlign
Sets or retrieves how the object is aligned with adjacent text.- Specified by:
getAlign
in interfaceHTMLImageElement
- Returns:
- a
String
object.
-
getAlt
Sets or retrieves a text alternative to the graphic.- Specified by:
getAlt
in interfaceHTMLImageElement
- Returns:
- a
String
object.
-
getBorder
Specifies the properties of a border drawn around an object.- Specified by:
getBorder
in interfaceHTMLImageElement
- Returns:
- a
String
object.
-
getHeight
public double getHeight()Sets or retrieves the height of the object.- Specified by:
getHeight
in interfaceHTMLImageElement
- Returns:
- a double.
-
getHspace
public double getHspace()Sets or retrieves the width of the border to draw around the object.- Specified by:
getHspace
in interfaceHTMLImageElement
- Returns:
- a double.
-
isIsMap
public boolean isIsMap()Sets or retrieves whether the image is a server-side image map.- Specified by:
isIsMap
in interfaceHTMLImageElement
- Returns:
- a boolean.
-
getLongDesc
Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.- Specified by:
getLongDesc
in interfaceHTMLImageElement
- Returns:
- a
String
object.
-
getName
Sets or retrieves the name of the object.- Specified by:
getName
in interfaceHTMLImageElement
- Returns:
- a
String
object.
-
getOnload
getOnload.
- Specified by:
getOnload
in interfaceGlobalEventHandlers
- Overrides:
getOnload
in classHTMLElementImpl
- Returns:
- a
Function
object.
-
getSrc
The address or URL of the a media resource that is to be considered.- Specified by:
getSrc
in interfaceHTMLImageElement
- Returns:
- a
String
object.
-
getUseMap
Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.- Specified by:
getUseMap
in interfaceHTMLImageElement
- Returns:
- a
String
object.
-
getVspace
public double getVspace()Sets or retrieves the vertical margin for the object.- Specified by:
getVspace
in interfaceHTMLImageElement
- Returns:
- a double.
-
getWidth
public double getWidth()Sets or retrieves the width of the object.- Specified by:
getWidth
in interfaceHTMLImageElement
- Returns:
- a double.
-
setAlign
setAlign.
- Specified by:
setAlign
in interfaceHTMLImageElement
- Parameters:
align
- aString
object.
-
setAlt
setAlt.
- Specified by:
setAlt
in interfaceHTMLImageElement
- Parameters:
alt
- aString
object.
-
setBorder
setBorder.
- Specified by:
setBorder
in interfaceHTMLImageElement
- Parameters:
border
- aString
object.
-
setHeight
public void setHeight(double height) setHeight.
- Specified by:
setHeight
in interfaceHTMLImageElement
- Parameters:
height
- a double.
-
setHspace
public void setHspace(double hspace) setHspace.
- Specified by:
setHspace
in interfaceHTMLImageElement
- Parameters:
hspace
- a double.
-
setIsMap
public void setIsMap(boolean isMap) setIsMap.
- Specified by:
setIsMap
in interfaceHTMLImageElement
- Parameters:
isMap
- a boolean.
-
setLongDesc
setLongDesc.
- Specified by:
setLongDesc
in interfaceHTMLImageElement
- Parameters:
longDesc
- aString
object.
-
setName
setName.
- Specified by:
setName
in interfaceHTMLImageElement
- Parameters:
name
- aString
object.
-
setOnload
Sets onload.setOnload.
- Specified by:
setOnload
in interfaceGlobalEventHandlers
- Overrides:
setOnload
in classHTMLElementImpl
- Parameters:
onload
- the onload
-
setSrc
setSrc.
Sets the image URI and starts to load the image. Note that an HtmlRendererContext should be available to the HTML document for images to be loaded.- Specified by:
setSrc
in interfaceHTMLImageElement
- Parameters:
src
- aString
object.
-
setUseMap
setUseMap.
- Specified by:
setUseMap
in interfaceHTMLImageElement
- Parameters:
useMap
- aString
object.
-
setVspace
public void setVspace(double vspace) setVspace.
- Specified by:
setVspace
in interfaceHTMLImageElement
- Parameters:
vspace
- a double.
-
setWidth
public void setWidth(double width) setWidth.
- Specified by:
setWidth
in interfaceHTMLImageElement
- Parameters:
width
- a double.
-
isComplete
public boolean isComplete()Retrieves whether the object is fully loaded.- Specified by:
isComplete
in interfaceHTMLImageElement
- Returns:
- a boolean.
-
getCrossOrigin
getCrossOrigin.
- Specified by:
getCrossOrigin
in interfaceHTMLImageElement
- Returns:
- a
String
object.
-
setCrossOrigin
setCrossOrigin.
- Specified by:
setCrossOrigin
in interfaceHTMLImageElement
- Parameters:
crossOrigin
- aString
object.
-
getCurrentSrc
getCurrentSrc.
- Specified by:
getCurrentSrc
in interfaceHTMLImageElement
- Returns:
- a
String
object.
-
getDecoding
getDecoding.
- Specified by:
getDecoding
in interfaceHTMLImageElement
- Returns:
- a
Decoding
object.
-
setDecoding
setDecoding.
- Specified by:
setDecoding
in interfaceHTMLImageElement
- Parameters:
decoding
- aDecoding
object.
-
getLowsrc
getLowsrc.
- Specified by:
getLowsrc
in interfaceHTMLImageElement
- Returns:
- a
String
object.
-
setLowsrc
setLowsrc.
- Specified by:
setLowsrc
in interfaceHTMLImageElement
- Parameters:
lowsrc
- aString
object.
-
getNaturalHeight
public double getNaturalHeight()The original height of the image resource before sizing.- Specified by:
getNaturalHeight
in interfaceHTMLImageElement
- Returns:
- a double.
-
getNaturalWidth
public double getNaturalWidth()The original width of the image resource before sizing.- Specified by:
getNaturalWidth
in interfaceHTMLImageElement
- Returns:
- a double.
-
getReferrerPolicy
getReferrerPolicy.
- Specified by:
getReferrerPolicy
in interfaceHTMLImageElement
- Returns:
- a
String
object.
-
setReferrerPolicy
setReferrerPolicy.
- Specified by:
setReferrerPolicy
in interfaceHTMLImageElement
- Parameters:
referrerPolicy
- aString
object.
-
getSizes
getSizes.
- Specified by:
getSizes
in interfaceHTMLImageElement
- Returns:
- a
String
object.
-
setSizes
setSizes.
- Specified by:
setSizes
in interfaceHTMLImageElement
- Parameters:
sizes
- aString
object.
-
getSrcset
getSrcset.
- Specified by:
getSrcset
in interfaceHTMLImageElement
- Returns:
- a
String
object.
-
setSrcset
setSrcset.
- Specified by:
setSrcset
in interfaceHTMLImageElement
- Parameters:
srcset
- aString
object.
-
getX
public double getX()getX.
- Specified by:
getX
in interfaceHTMLImageElement
- Returns:
- a double.
-
getY
public double getY()getY.
- Specified by:
getY
in interfaceHTMLImageElement
- Returns:
- a double.
-
draw
draw.
- Parameters:
imgSvgControl
- aImgSvgControl
object.
-
toString
- Overrides:
toString
in classHTMLElementImpl
-