Package com.teamdev.jxbrowser.dom
Interface PointInspection
public interface PointInspection
Provides information about DOM node at a specified point inside the loaded document.
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
Returns a string that represents the absolute URL of the image located at the point or an empty string if there is no image at the point.default String
Returns a string that represents the absolute URL of the link DOM element at the point or an empty string if there is no link at the point.default Point
Returns coordinates of the point relative to the node.node()
Returns theNode
at the point.Returns the linkElement
when a link is located at the point.
-
Method Details
-
localPoint
Returns coordinates of the point relative to the node. -
node
Returns theNode
at the point. Returns an emptyOptional
if there is no node at the point. -
urlElement
Returns the linkElement
when a link is located at the point. Returns an emptyOptional
if there is no link element at the point. -
absoluteImageUrl
Returns a string that represents the absolute URL of the image located at the point or an empty string if there is no image at the point. -
absoluteLinkUrl
Returns a string that represents the absolute URL of the link DOM element at the point or an empty string if there is no link at the point.
-