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