-
- All Implemented Interfaces:
-
com.facebook.yoga.YogaProps
,java.lang.Cloneable
public abstract class YogaNodeJNIBase extends YogaNode implements Cloneable
-
-
Method Summary
-
Methods inherited from class com.facebook.yoga.YogaNode
addChildAt, cloneWithChildren, cloneWithoutChildren, getChildAt, getOwner, getParent, removeChildAt
-
Methods inherited from class com.facebook.yoga.YogaProps
setBaselineFunction, setBorder, setFlexDirection, setMaxHeight, setWrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
reset
void reset()
-
getChildCount
int getChildCount()
-
getChildAt
YogaNodeJNIBase getChildAt(int i)
-
addChildAt
void addChildAt(YogaNode c, int i)
-
setIsReferenceBaseline
void setIsReferenceBaseline(boolean isReferenceBaseline)
-
isReferenceBaseline
boolean isReferenceBaseline()
-
swapChildAt
void swapChildAt(YogaNode newChild, int position)
-
cloneWithChildren
YogaNodeJNIBase cloneWithChildren()
-
cloneWithoutChildren
YogaNodeJNIBase cloneWithoutChildren()
-
removeChildAt
YogaNodeJNIBase removeChildAt(int i)
-
getOwner
@Nullable() YogaNodeJNIBase getOwner()
-
getParent
@Deprecated()@Nullable() YogaNodeJNIBase getParent()
-
calculateLayout
void calculateLayout(float width, float height)
-
dirty
void dirty()
-
dirtyAllDescendants
void dirtyAllDescendants()
-
isDirty
boolean isDirty()
-
getStyleDirection
YogaDirection getStyleDirection()
-
setDirection
void setDirection(YogaDirection direction)
-
getFlexDirection
YogaFlexDirection getFlexDirection()
-
setFlexDirection
void setFlexDirection(YogaFlexDirection flexDirection)
-
getJustifyContent
YogaJustify getJustifyContent()
-
setJustifyContent
void setJustifyContent(YogaJustify justifyContent)
-
getAlignItems
YogaAlign getAlignItems()
-
setAlignItems
void setAlignItems(YogaAlign alignItems)
-
getAlignSelf
YogaAlign getAlignSelf()
-
setAlignSelf
void setAlignSelf(YogaAlign alignSelf)
-
getAlignContent
YogaAlign getAlignContent()
-
setAlignContent
void setAlignContent(YogaAlign alignContent)
-
getPositionType
YogaPositionType getPositionType()
-
setPositionType
void setPositionType(YogaPositionType positionType)
-
getOverflow
YogaOverflow getOverflow()
-
setOverflow
void setOverflow(YogaOverflow overflow)
-
getDisplay
YogaDisplay getDisplay()
-
setDisplay
void setDisplay(YogaDisplay display)
-
getFlex
float getFlex()
-
setFlex
void setFlex(float flex)
-
getFlexGrow
float getFlexGrow()
-
setFlexGrow
void setFlexGrow(float flexGrow)
-
getFlexShrink
float getFlexShrink()
-
setFlexShrink
void setFlexShrink(float flexShrink)
-
getFlexBasis
YogaValue getFlexBasis()
-
setFlexBasis
void setFlexBasis(float flexBasis)
-
setFlexBasisPercent
void setFlexBasisPercent(float percent)
-
setFlexBasisAuto
void setFlexBasisAuto()
-
setMarginPercent
void setMarginPercent(YogaEdge edge, float percent)
-
setMarginAuto
void setMarginAuto(YogaEdge edge)
-
getPadding
YogaValue getPadding(YogaEdge edge)
-
setPadding
void setPadding(YogaEdge edge, float padding)
-
setPaddingPercent
void setPaddingPercent(YogaEdge edge, float percent)
-
getPosition
YogaValue getPosition(YogaEdge edge)
-
setPosition
void setPosition(YogaEdge edge, float position)
-
setPositionPercent
void setPositionPercent(YogaEdge edge, float percent)
-
setWidth
void setWidth(float width)
-
setWidthPercent
void setWidthPercent(float percent)
-
setWidthAuto
void setWidthAuto()
-
setHeight
void setHeight(float height)
-
setHeightPercent
void setHeightPercent(float percent)
-
setHeightAuto
void setHeightAuto()
-
getMinWidth
YogaValue getMinWidth()
-
setMinWidth
void setMinWidth(float minWidth)
-
setMinWidthPercent
void setMinWidthPercent(float percent)
-
getMinHeight
YogaValue getMinHeight()
-
setMinHeight
void setMinHeight(float minHeight)
-
setMinHeightPercent
void setMinHeightPercent(float percent)
-
getMaxWidth
YogaValue getMaxWidth()
-
setMaxWidth
void setMaxWidth(float maxWidth)
-
setMaxWidthPercent
void setMaxWidthPercent(float percent)
-
getMaxHeight
YogaValue getMaxHeight()
-
setMaxHeight
void setMaxHeight(float maxheight)
-
setMaxHeightPercent
void setMaxHeightPercent(float percent)
-
getAspectRatio
float getAspectRatio()
-
setAspectRatio
void setAspectRatio(float aspectRatio)
-
setMeasureFunction
void setMeasureFunction(YogaMeasureFunction measureFunction)
-
measure
final long measure(float width, int widthMode, float height, int heightMode)
-
setBaselineFunction
void setBaselineFunction(YogaBaselineFunction baselineFunction)
-
baseline
final float baseline(float width, float height)
-
isMeasureDefined
boolean isMeasureDefined()
-
isBaselineDefined
boolean isBaselineDefined()
-
print
void print()
Use the set logger (defaults to adb log) to print out the styles, children, and computed layoutof the tree rooted at this node.
-
getLayoutX
float getLayoutX()
-
getLayoutY
float getLayoutY()
-
getLayoutWidth
float getLayoutWidth()
-
getLayoutHeight
float getLayoutHeight()
-
getDoesLegacyStretchFlagAffectsLayout
boolean getDoesLegacyStretchFlagAffectsLayout()
-
getLayoutMargin
float getLayoutMargin(YogaEdge edge)
-
getLayoutPadding
float getLayoutPadding(YogaEdge edge)
-
getLayoutBorder
float getLayoutBorder(YogaEdge edge)
-
getLayoutDirection
YogaDirection getLayoutDirection()
-
hasNewLayout
boolean hasNewLayout()
-
markLayoutSeen
void markLayoutSeen()
-
-
-
-