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 StringReturns 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 StringReturns 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 PointReturns coordinates of the point relative to the node.node()Returns theNodeat the point.Returns the linkElementwhen a link is located at the point.
-
Method Details
-
localPoint
Returns coordinates of the point relative to the node. -
node
Returns theNodeat the point. Returns an emptyOptionalif there is no node at the point. -
urlElement
Returns the linkElementwhen a link is located at the point. Returns an emptyOptionalif 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.
-