Class LayoutTreeNode
java.lang.Object
io.webfolder.cdp.type.domsnapshot.LayoutTreeNode
Details of an element in the DOM tree with a LayoutObject.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe bounding box in document coordinates.The index of the related DOM node in the domNodes array returned by getSnapshot.The post-layout inline text nodes, if any.Contents of the LayoutText, if any.Global paint order index, which is determined by the stacking order of the nodes.Index into the computedStyles array returned by getSnapshot.Set to true to indicate the element begins a new stacking context.void
setBoundingBox
(Rect boundingBox) The bounding box in document coordinates.void
setDomNodeIndex
(Integer domNodeIndex) The index of the related DOM node in the domNodes array returned by getSnapshot.void
setInlineTextNodes
(List<InlineTextBox> inlineTextNodes) The post-layout inline text nodes, if any.void
setIsStackingContext
(Boolean isStackingContext) Set to true to indicate the element begins a new stacking context.void
setLayoutText
(String layoutText) Contents of the LayoutText, if any.void
setPaintOrder
(Integer paintOrder) Global paint order index, which is determined by the stacking order of the nodes.void
setStyleIndex
(Integer styleIndex) Index into the computedStyles array returned by getSnapshot.toString()
-
Constructor Details
-
LayoutTreeNode
public LayoutTreeNode()
-
-
Method Details
-
getDomNodeIndex
The index of the related DOM node in the domNodes array returned by getSnapshot. -
setDomNodeIndex
The index of the related DOM node in the domNodes array returned by getSnapshot. -
getBoundingBox
The bounding box in document coordinates. Note that scroll offset of the document is ignored. -
setBoundingBox
The bounding box in document coordinates. Note that scroll offset of the document is ignored. -
getLayoutText
Contents of the LayoutText, if any. -
setLayoutText
Contents of the LayoutText, if any. -
getInlineTextNodes
The post-layout inline text nodes, if any. -
setInlineTextNodes
The post-layout inline text nodes, if any. -
getStyleIndex
Index into the computedStyles array returned by getSnapshot. -
setStyleIndex
Index into the computedStyles array returned by getSnapshot. -
getPaintOrder
Global paint order index, which is determined by the stacking order of the nodes. Nodes that are painted together will have the same index. Only provided if includePaintOrder in getSnapshot was true. -
setPaintOrder
Global paint order index, which is determined by the stacking order of the nodes. Nodes that are painted together will have the same index. Only provided if includePaintOrder in getSnapshot was true. -
isIsStackingContext
Set to true to indicate the element begins a new stacking context. -
setIsStackingContext
Set to true to indicate the element begins a new stacking context. -
toString
-