Package com.teamdev.jxbrowser.dom
Interface ImageElement
- All Superinterfaces:
Element
,EventTarget
,Node
,SearchContext
An HTML DOM image element.
- Since:
- 7.21
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.teamdev.jxbrowser.dom.Element
Element.AlignTo
-
Method Summary
Methods inherited from interface com.teamdev.jxbrowser.dom.Element
attributeNodes, attributes, attributeValue, blur, boundingClientRect, focus, hasAttribute, innerHtml, innerHtml, innerText, innerText, outerHtml, outerHtml, putAttribute, removeAttribute, scrollIntoView
Methods inherited from interface com.teamdev.jxbrowser.dom.event.EventTarget
addEventListener, dispatch, eventListeners, removeEventListener
Methods inherited from interface com.teamdev.jxbrowser.dom.Node
appendChild, children, click, close, compareDocumentPosition, document, evaluate, evaluate, insertChild, nextSibling, nodeName, nodeValue, nodeValue, parent, previousSibling, removeChild, replaceChild, textContent, textContent, type, xPath
Methods inherited from interface com.teamdev.jxbrowser.dom.SearchContext
findElementByClassName, findElementByCssSelector, findElementById, findElementByName, findElementByTagName, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByName, findElementsByTagName
-
Method Details
-
contents
Bitmap contents()Returns anBitmap
that contains raw pixels of the image displayed by the element.The size of the bitmap depends on the size of the original image. It is not affected by the actual size of the element.
- Throws:
ObjectClosedException
- when this instance is closed
-