public class RenderTreeNode
extends java.lang.Object
Constructor and Description |
---|
RenderTreeNode(RenderTreeNode parent,
RenderUnit renderUnit,
java.lang.Object layoutData,
Rect bounds,
Rect resolvedPadding,
int positionInParent) |
Modifier and Type | Method and Description |
---|---|
void |
child(RenderTreeNode renderTreeNode) |
java.lang.String |
generateDebugString(RenderTree tree) |
Rect |
getAbsoluteBounds(Rect outRect)
Sets the absolutes bounds of this render tree node in ; i.e.
|
int |
getAbsoluteX() |
int |
getAbsoluteY() |
Rect |
getBounds() |
RenderTreeNode |
getChildAt(int idx) |
int |
getChildrenCount() |
java.lang.Object |
getLayoutData() |
RenderTreeNode |
getParent() |
int |
getPositionInParent() |
RenderUnit |
getRenderUnit() |
Rect |
getResolvedPadding() |
public RenderTreeNode(RenderTreeNode parent, RenderUnit renderUnit, java.lang.Object layoutData, Rect bounds, Rect resolvedPadding, int positionInParent)
public void child(RenderTreeNode renderTreeNode)
public Rect getBounds()
public int getAbsoluteX()
public int getAbsoluteY()
public Rect getAbsoluteBounds(Rect outRect)
RootHost
.outRect
- the calculated absolute bounds.public Rect getResolvedPadding()
public RenderUnit getRenderUnit()
public RenderTreeNode getParent()
public int getChildrenCount()
public RenderTreeNode getChildAt(int idx)
public int getPositionInParent()
public java.lang.Object getLayoutData()
public java.lang.String generateDebugString(RenderTree tree)