public class MeasureResult<T> extends Object implements Node.LayoutResult<T>
Constructor and Description |
---|
MeasureResult(RenderUnit renderUnit,
int widthSpec,
int heightSpec,
int measuredWidth,
int measuredHeight) |
MeasureResult(RenderUnit renderUnit,
int widthSpec,
int heightSpec,
int measuredWidth,
int measuredHeight,
T layoutData) |
Modifier and Type | Method and Description |
---|---|
Node.LayoutResult |
getChildAt(int index) |
int |
getChildrenCount() |
int |
getHeight() |
int |
getHeightSpec() |
T |
getLayoutData() |
int |
getPaddingBottom() |
int |
getPaddingLeft() |
int |
getPaddingRight() |
int |
getPaddingTop() |
RenderUnit |
getRenderUnit() |
int |
getWidth() |
int |
getWidthSpec() |
int |
getXForChildAtIndex(int index) |
int |
getYForChildAtIndex(int index) |
public MeasureResult(RenderUnit renderUnit, int widthSpec, int heightSpec, int measuredWidth, int measuredHeight)
public MeasureResult(RenderUnit renderUnit, int widthSpec, int heightSpec, int measuredWidth, int measuredHeight, T layoutData)
public final RenderUnit getRenderUnit()
getRenderUnit
in interface Node.LayoutResult<T>
public final T getLayoutData()
getLayoutData
in interface Node.LayoutResult<T>
public final int getChildrenCount()
getChildrenCount
in interface Node.LayoutResult<T>
public final Node.LayoutResult getChildAt(int index)
getChildAt
in interface Node.LayoutResult<T>
public final int getXForChildAtIndex(int index)
getXForChildAtIndex
in interface Node.LayoutResult<T>
public final int getYForChildAtIndex(int index)
getYForChildAtIndex
in interface Node.LayoutResult<T>
public final int getWidth()
getWidth
in interface Node.LayoutResult<T>
public final int getHeight()
getHeight
in interface Node.LayoutResult<T>
public int getPaddingTop()
getPaddingTop
in interface Node.LayoutResult<T>
public int getPaddingRight()
getPaddingRight
in interface Node.LayoutResult<T>
public int getPaddingBottom()
getPaddingBottom
in interface Node.LayoutResult<T>
public int getPaddingLeft()
getPaddingLeft
in interface Node.LayoutResult<T>
public int getWidthSpec()
getWidthSpec
in interface Node.LayoutResult<T>
public int getHeightSpec()
getHeightSpec
in interface Node.LayoutResult<T>