-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
YogaNode.Inputs
The interface the getData object can optionally implement.
-
Method Summary
Modifier and Type Method Description abstract void
reset()
abstract int
getChildCount()
abstract YogaNode
getChildAt(int i)
abstract void
addChildAt(YogaNode child, int i)
abstract void
setIsReferenceBaseline(boolean isReferenceBaseline)
abstract boolean
isReferenceBaseline()
abstract YogaNode
removeChildAt(int i)
abstract YogaNode
getOwner()
abstract YogaNode
getParent()
abstract int
indexOf(YogaNode child)
abstract void
calculateLayout(float width, float height)
abstract boolean
hasNewLayout()
abstract void
dirty()
abstract boolean
isDirty()
abstract void
copyStyle(YogaNode srcNode)
abstract void
markLayoutSeen()
abstract YogaDirection
getStyleDirection()
abstract void
setDirection(YogaDirection direction)
abstract YogaFlexDirection
getFlexDirection()
abstract void
setFlexDirection(YogaFlexDirection flexDirection)
abstract YogaJustify
getJustifyContent()
abstract void
setJustifyContent(YogaJustify justifyContent)
abstract YogaAlign
getAlignItems()
abstract void
setAlignItems(YogaAlign alignItems)
abstract YogaAlign
getAlignSelf()
abstract void
setAlignSelf(YogaAlign alignSelf)
abstract YogaAlign
getAlignContent()
abstract void
setAlignContent(YogaAlign alignContent)
abstract YogaPositionType
getPositionType()
abstract void
setPositionType(YogaPositionType positionType)
abstract YogaWrap
getWrap()
abstract void
setWrap(YogaWrap flexWrap)
abstract YogaOverflow
getOverflow()
abstract void
setOverflow(YogaOverflow overflow)
abstract YogaDisplay
getDisplay()
abstract void
setDisplay(YogaDisplay display)
abstract float
getFlex()
abstract void
setFlex(float flex)
abstract float
getFlexGrow()
abstract void
setFlexGrow(float flexGrow)
abstract float
getFlexShrink()
abstract void
setFlexShrink(float flexShrink)
abstract YogaValue
getFlexBasis()
abstract void
setFlexBasis(float flexBasis)
abstract void
setFlexBasisPercent(float percent)
abstract void
setFlexBasisAuto()
abstract YogaValue
getMargin(YogaEdge edge)
abstract void
setMargin(YogaEdge edge, float margin)
abstract void
setMarginPercent(YogaEdge edge, float percent)
abstract void
setMarginAuto(YogaEdge edge)
abstract YogaValue
getPadding(YogaEdge edge)
abstract void
setPadding(YogaEdge edge, float padding)
abstract void
setPaddingPercent(YogaEdge edge, float percent)
abstract float
getBorder(YogaEdge edge)
abstract void
setBorder(YogaEdge edge, float border)
abstract YogaValue
getPosition(YogaEdge edge)
abstract void
setPosition(YogaEdge edge, float position)
abstract void
setPositionPercent(YogaEdge edge, float percent)
abstract YogaValue
getWidth()
abstract void
setWidth(float width)
abstract void
setWidthPercent(float percent)
abstract void
setWidthAuto()
abstract YogaValue
getHeight()
abstract void
setHeight(float height)
abstract void
setHeightPercent(float percent)
abstract void
setHeightAuto()
abstract YogaValue
getMinWidth()
abstract void
setMinWidth(float minWidth)
abstract void
setMinWidthPercent(float percent)
abstract YogaValue
getMinHeight()
abstract void
setMinHeight(float minHeight)
abstract void
setMinHeightPercent(float percent)
abstract YogaValue
getMaxWidth()
abstract void
setMaxWidth(float maxWidth)
abstract void
setMaxWidthPercent(float percent)
abstract YogaValue
getMaxHeight()
abstract void
setMaxHeight(float maxheight)
abstract void
setMaxHeightPercent(float percent)
abstract float
getAspectRatio()
abstract void
setAspectRatio(float aspectRatio)
abstract float
getLayoutX()
abstract float
getLayoutY()
abstract float
getLayoutWidth()
abstract float
getLayoutHeight()
abstract float
getLayoutMargin(YogaEdge edge)
abstract float
getLayoutPadding(YogaEdge edge)
abstract float
getLayoutBorder(YogaEdge edge)
abstract YogaDirection
getLayoutDirection()
abstract void
setMeasureFunction(YogaMeasureFunction measureFunction)
abstract void
setBaselineFunction(YogaBaselineFunction baselineFunction)
abstract boolean
isMeasureDefined()
abstract boolean
isBaselineDefined()
abstract void
setData(Object data)
abstract Object
getData()
abstract void
print()
abstract YogaNode
cloneWithoutChildren()
abstract YogaNode
cloneWithChildren()
-
-
Method Detail
-
reset
abstract void reset()
-
getChildCount
abstract int getChildCount()
-
getChildAt
abstract YogaNode getChildAt(int i)
-
addChildAt
abstract void addChildAt(YogaNode child, int i)
-
setIsReferenceBaseline
abstract void setIsReferenceBaseline(boolean isReferenceBaseline)
-
isReferenceBaseline
abstract boolean isReferenceBaseline()
-
removeChildAt
abstract YogaNode removeChildAt(int i)
-
getParent
@Deprecated()@Nullable() abstract YogaNode getParent()
-
calculateLayout
abstract void calculateLayout(float width, float height)
-
hasNewLayout
abstract boolean hasNewLayout()
-
dirty
abstract void dirty()
-
isDirty
abstract boolean isDirty()
-
markLayoutSeen
abstract void markLayoutSeen()
-
getStyleDirection
abstract YogaDirection getStyleDirection()
-
setDirection
abstract void setDirection(YogaDirection direction)
-
getFlexDirection
abstract YogaFlexDirection getFlexDirection()
-
setFlexDirection
abstract void setFlexDirection(YogaFlexDirection flexDirection)
-
getJustifyContent
abstract YogaJustify getJustifyContent()
-
setJustifyContent
abstract void setJustifyContent(YogaJustify justifyContent)
-
getAlignItems
abstract YogaAlign getAlignItems()
-
setAlignItems
abstract void setAlignItems(YogaAlign alignItems)
-
getAlignSelf
abstract YogaAlign getAlignSelf()
-
setAlignSelf
abstract void setAlignSelf(YogaAlign alignSelf)
-
getAlignContent
abstract YogaAlign getAlignContent()
-
setAlignContent
abstract void setAlignContent(YogaAlign alignContent)
-
getPositionType
abstract YogaPositionType getPositionType()
-
setPositionType
abstract void setPositionType(YogaPositionType positionType)
-
getOverflow
abstract YogaOverflow getOverflow()
-
setOverflow
abstract void setOverflow(YogaOverflow overflow)
-
getDisplay
abstract YogaDisplay getDisplay()
-
setDisplay
abstract void setDisplay(YogaDisplay display)
-
getFlex
abstract float getFlex()
-
setFlex
abstract void setFlex(float flex)
-
getFlexGrow
abstract float getFlexGrow()
-
setFlexGrow
abstract void setFlexGrow(float flexGrow)
-
getFlexShrink
abstract float getFlexShrink()
-
setFlexShrink
abstract void setFlexShrink(float flexShrink)
-
getFlexBasis
abstract YogaValue getFlexBasis()
-
setFlexBasis
abstract void setFlexBasis(float flexBasis)
-
setFlexBasisPercent
abstract void setFlexBasisPercent(float percent)
-
setFlexBasisAuto
abstract void setFlexBasisAuto()
-
setMarginPercent
abstract void setMarginPercent(YogaEdge edge, float percent)
-
setMarginAuto
abstract void setMarginAuto(YogaEdge edge)
-
getPadding
abstract YogaValue getPadding(YogaEdge edge)
-
setPadding
abstract void setPadding(YogaEdge edge, float padding)
-
setPaddingPercent
abstract void setPaddingPercent(YogaEdge edge, float percent)
-
getPosition
abstract YogaValue getPosition(YogaEdge edge)
-
setPosition
abstract void setPosition(YogaEdge edge, float position)
-
setPositionPercent
abstract void setPositionPercent(YogaEdge edge, float percent)
-
setWidth
abstract void setWidth(float width)
-
setWidthPercent
abstract void setWidthPercent(float percent)
-
setWidthAuto
abstract void setWidthAuto()
-
setHeight
abstract void setHeight(float height)
-
setHeightPercent
abstract void setHeightPercent(float percent)
-
setHeightAuto
abstract void setHeightAuto()
-
getMinWidth
abstract YogaValue getMinWidth()
-
setMinWidth
abstract void setMinWidth(float minWidth)
-
setMinWidthPercent
abstract void setMinWidthPercent(float percent)
-
getMinHeight
abstract YogaValue getMinHeight()
-
setMinHeight
abstract void setMinHeight(float minHeight)
-
setMinHeightPercent
abstract void setMinHeightPercent(float percent)
-
getMaxWidth
abstract YogaValue getMaxWidth()
-
setMaxWidth
abstract void setMaxWidth(float maxWidth)
-
setMaxWidthPercent
abstract void setMaxWidthPercent(float percent)
-
getMaxHeight
abstract YogaValue getMaxHeight()
-
setMaxHeight
abstract void setMaxHeight(float maxheight)
-
setMaxHeightPercent
abstract void setMaxHeightPercent(float percent)
-
getAspectRatio
abstract float getAspectRatio()
-
setAspectRatio
abstract void setAspectRatio(float aspectRatio)
-
getLayoutX
abstract float getLayoutX()
-
getLayoutY
abstract float getLayoutY()
-
getLayoutWidth
abstract float getLayoutWidth()
-
getLayoutHeight
abstract float getLayoutHeight()
-
getLayoutMargin
abstract float getLayoutMargin(YogaEdge edge)
-
getLayoutPadding
abstract float getLayoutPadding(YogaEdge edge)
-
getLayoutBorder
abstract float getLayoutBorder(YogaEdge edge)
-
getLayoutDirection
abstract YogaDirection getLayoutDirection()
-
setMeasureFunction
abstract void setMeasureFunction(YogaMeasureFunction measureFunction)
-
setBaselineFunction
abstract void setBaselineFunction(YogaBaselineFunction baselineFunction)
-
isMeasureDefined
abstract boolean isMeasureDefined()
-
isBaselineDefined
abstract boolean isBaselineDefined()
-
print
abstract void print()
-
cloneWithoutChildren
abstract YogaNode cloneWithoutChildren()
-
cloneWithChildren
abstract YogaNode cloneWithChildren()
-
-
-
-