Uses of Interface
com.teamdev.jxbrowser.dom.Element
Package
Description
Provides the interfaces and classes for the Document Object Model (DOM).
-
Uses of Element in com.teamdev.jxbrowser.dom
Modifier and TypeInterfaceDescriptioninterface
An HTML DOM form control element such as input, select, textarea, etc.interface
An HTML DOM form element.interface
An HTML DOM frame or iframe element.interface
An HTML DOM image element.interface
An HTML DOM input element.interface
An HTML DOM option element.interface
An HTML DOM select element.interface
An HTML DOM textarea element.Modifier and TypeMethodDescriptionDocument.createElement
(String tagName) Creates and returns a new DOM element with the giventagName
.Modifier and TypeMethodDescriptionDocument.documentElement()
Returns anOptional
that contains the document HTML element that usually represents HTML tag, otherwise an emptyOptional
if the document element is not available.SearchContext.findElementByClassName
(String className) Returns the firstElement
object found in the current search context by the givenclassName
.SearchContext.findElementByCssSelector
(String cssSelector) Returns the firstElement
object found in the current search context by the givencssSelector
.SearchContext.findElementById
(String id) Returns the firstElement
object found in the current search context by the givenid
.SearchContext.findElementByName
(String name) Returns the firstElement
object found in the current search context by the givenname
.SearchContext.findElementByTagName
(String tagName) Returns the firstElement
object found in the current search context by the giventagName
.SearchContext.findElementsByClassName
(String className) Returns an immutable list of theElement
objects found in the current search context by the givenclassName
.SearchContext.findElementsByCssSelector
(String cssSelector) Returns an immutable list of theElement
objects found in the current search context by the givencssSelector
.SearchContext.findElementsById
(String id) Returns an immutable list of theElement
objects found in the current search context by the givenid
.SearchContext.findElementsByName
(String name) Returns an immutable list of theElement
objects found in the current search context by the givenname
.SearchContext.findElementsByTagName
(String tagName) Returns an immutable list of theElement
objects found in the current search context by the giventagName
.Document.focusedElement()
Returns anOptional
that contains the currently focused element in the document, otherwise an emptyOptional
if there is no focused element in this document.Attribute.ownerElement()
Returns anOptional
that contains the owner element of the attribute if such owner exists, otherwise returns an emptyOptional
.PointInspection.urlElement()
Returns the linkElement
when a link is located at the point.