All Methods Instance Methods Concrete Methods Deprecated Methods
Modifier and Type |
Method and Description |
void |
addChildAt(YogaNode c,
int i) |
float |
baseline(float width,
float height) |
void |
calculateLayout(float width,
float height) |
YogaNodeJNIBase |
cloneWithChildren() |
YogaNodeJNIBase |
cloneWithoutChildren() |
void |
copyStyle(YogaNode srcNode) |
void |
dirty() |
void |
dirtyAllDescendants() |
YogaAlign |
getAlignContent() |
YogaAlign |
getAlignItems() |
YogaAlign |
getAlignSelf() |
float |
getAspectRatio() |
float |
getBorder(YogaEdge edge) |
YogaNodeJNIBase |
getChildAt(int i) |
int |
getChildCount() |
Object |
getData() |
YogaDisplay |
getDisplay() |
boolean |
getDoesLegacyStretchFlagAffectsLayout() |
float |
getFlex() |
YogaValue |
getFlexBasis() |
YogaFlexDirection |
getFlexDirection() |
float |
getFlexGrow() |
float |
getFlexShrink() |
YogaValue |
getHeight() |
YogaJustify |
getJustifyContent() |
float |
getLayoutBorder(YogaEdge edge) |
YogaDirection |
getLayoutDirection() |
float |
getLayoutHeight() |
float |
getLayoutMargin(YogaEdge edge) |
float |
getLayoutPadding(YogaEdge edge) |
float |
getLayoutWidth() |
float |
getLayoutX() |
float |
getLayoutY() |
YogaValue |
getMargin(YogaEdge edge) |
YogaValue |
getMaxHeight() |
YogaValue |
getMaxWidth() |
YogaValue |
getMinHeight() |
YogaValue |
getMinWidth() |
YogaOverflow |
getOverflow() |
YogaNodeJNIBase |
getOwner()
The owner is used to identify the YogaTree that a YogaNode belongs to.
|
YogaValue |
getPadding(YogaEdge edge) |
YogaNodeJNIBase |
getParent()
|
YogaValue |
getPosition(YogaEdge edge) |
YogaPositionType |
getPositionType() |
YogaDirection |
getStyleDirection() |
YogaValue |
getWidth() |
YogaWrap |
getWrap() |
boolean |
hasNewLayout() |
int |
indexOf(YogaNode child) |
boolean |
isBaselineDefined() |
boolean |
isDirty() |
boolean |
isMeasureDefined() |
boolean |
isReferenceBaseline() |
void |
markLayoutSeen() |
long |
measure(float width,
int widthMode,
float height,
int heightMode) |
void |
print()
Use the set logger (defaults to adb log) to print out the styles, children, and computed layout
of the tree rooted at this node.
|
YogaNodeJNIBase |
removeChildAt(int i) |
void |
reset() |
void |
setAlignContent(YogaAlign alignContent) |
void |
setAlignItems(YogaAlign alignItems) |
void |
setAlignSelf(YogaAlign alignSelf) |
void |
setAspectRatio(float aspectRatio) |
void |
setBaselineFunction(YogaBaselineFunction baselineFunction) |
void |
setBorder(YogaEdge edge,
float border) |
void |
setData(Object data) |
void |
setDirection(YogaDirection direction) |
void |
setDisplay(YogaDisplay display) |
void |
setFlex(float flex) |
void |
setFlexBasis(float flexBasis) |
void |
setFlexBasisAuto() |
void |
setFlexBasisPercent(float percent) |
void |
setFlexDirection(YogaFlexDirection flexDirection) |
void |
setFlexGrow(float flexGrow) |
void |
setFlexShrink(float flexShrink) |
void |
setHeight(float height) |
void |
setHeightAuto() |
void |
setHeightPercent(float percent) |
void |
setIsReferenceBaseline(boolean isReferenceBaseline) |
void |
setJustifyContent(YogaJustify justifyContent) |
void |
setMargin(YogaEdge edge,
float margin) |
void |
setMarginAuto(YogaEdge edge) |
void |
setMarginPercent(YogaEdge edge,
float percent) |
void |
setMaxHeight(float maxheight) |
void |
setMaxHeightPercent(float percent) |
void |
setMaxWidth(float maxWidth) |
void |
setMaxWidthPercent(float percent) |
void |
setMeasureFunction(YogaMeasureFunction measureFunction) |
void |
setMinHeight(float minHeight) |
void |
setMinHeightPercent(float percent) |
void |
setMinWidth(float minWidth) |
void |
setMinWidthPercent(float percent) |
void |
setOverflow(YogaOverflow overflow) |
void |
setPadding(YogaEdge edge,
float padding) |
void |
setPaddingPercent(YogaEdge edge,
float percent) |
void |
setPosition(YogaEdge edge,
float position) |
void |
setPositionPercent(YogaEdge edge,
float percent) |
void |
setPositionType(YogaPositionType positionType) |
void |
setWidth(float width) |
void |
setWidthAuto() |
void |
setWidthPercent(float percent) |
void |
setWrap(YogaWrap flexWrap) |
void |
swapChildAt(YogaNode newChild,
int position) |