public class RenderTreeNode extends Object
Constructor and Description |
---|
RenderTreeNode(RenderTreeNode parent,
RenderUnit renderUnit,
Object layoutData,
Rect bounds,
Rect resolvedPadding,
int positionInParent) |
Modifier and Type | Method and Description |
---|---|
void |
child(RenderTreeNode renderTreeNode) |
Rect |
getAbsoluteBounds(Rect outRect)
Sets the absolutes bounds of this render tree node in ; i.e.
|
Rect |
getBounds() |
RenderTreeNode |
getChildAt(int idx) |
int |
getChildrenCount() |
Object |
getLayoutData() |
RenderTreeNode |
getParent() |
int |
getPositionInParent() |
RenderUnit |
getRenderUnit() |
Rect |
getResolvedPadding() |
public RenderTreeNode(RenderTreeNode parent, RenderUnit renderUnit, Object layoutData, Rect bounds, Rect resolvedPadding, int positionInParent)
public void child(RenderTreeNode renderTreeNode)
public Rect getBounds()
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 Object getLayoutData()