UNSPECIFIED
Modifier and Type | Method and Description |
---|---|
void |
addChild(DiffNode node) |
com.facebook.litho.LayoutOutput |
getBackgroundOutput() |
com.facebook.litho.LayoutOutput |
getBorderOutput() |
DiffNode |
getChildAt(int i) |
int |
getChildCount() |
java.util.List<DiffNode> |
getChildren() |
Component |
getComponent() |
java.lang.String |
getComponentGlobalKey() |
com.facebook.litho.LayoutOutput |
getContentOutput() |
com.facebook.litho.LayoutOutput |
getForegroundOutput() |
com.facebook.litho.LayoutOutput |
getHostOutput() |
int |
getLastHeightSpec() |
float |
getLastMeasuredHeight()
The last value the measure funcion associated with this node
Component returned for the
height. |
float |
getLastMeasuredWidth()
The last value the measure funcion associated with this node
Component returned for the
width. |
int |
getLastWidthSpec() |
VisibilityOutput |
getVisibilityOutput() |
void |
setBackgroundOutput(com.facebook.litho.LayoutOutput background) |
void |
setBorderOutput(com.facebook.litho.LayoutOutput border) |
void |
setComponent(Component component,
java.lang.String globalKey) |
void |
setContentOutput(com.facebook.litho.LayoutOutput content) |
void |
setForegroundOutput(com.facebook.litho.LayoutOutput foreground) |
void |
setHostOutput(com.facebook.litho.LayoutOutput host) |
void |
setLastHeightSpec(int heightSpec) |
void |
setLastMeasuredHeight(float lastMeasuredHeight)
Sets the last value the measure funcion associated with this node
Component returned
for the height. |
void |
setLastMeasuredWidth(float lastMeasuredWidth)
Sets the last value the measure funcion associated with this node
Component returned
for the width. |
void |
setLastWidthSpec(int widthSpec) |
void |
setVisibilityOutput(VisibilityOutput visibilityOutput) |
public int getChildCount()
getChildCount
in interface DiffNode
public DiffNode getChildAt(int i)
getChildAt
in interface DiffNode
public Component getComponent()
getComponent
in interface DiffNode
public java.lang.String getComponentGlobalKey()
getComponentGlobalKey
in interface DiffNode
public void setComponent(Component component, java.lang.String globalKey)
setComponent
in interface DiffNode
public float getLastMeasuredWidth()
DiffNode
Component
returned for the
width. This is used together with LithoLayoutResult.getLastWidthSpec()
to implement measure
caching.getLastMeasuredWidth
in interface DiffNode
public void setLastMeasuredWidth(float lastMeasuredWidth)
DiffNode
Component
returned
for the width.setLastMeasuredWidth
in interface DiffNode
public float getLastMeasuredHeight()
DiffNode
Component
returned for the
height. This is used together with LithoLayoutResult.getLastHeightSpec()
to implement
measure caching.getLastMeasuredHeight
in interface DiffNode
public void setLastMeasuredHeight(float lastMeasuredHeight)
DiffNode
Component
returned
for the height.setLastMeasuredHeight
in interface DiffNode
public int getLastWidthSpec()
getLastWidthSpec
in interface DiffNode
public void setLastWidthSpec(int widthSpec)
setLastWidthSpec
in interface DiffNode
public int getLastHeightSpec()
getLastHeightSpec
in interface DiffNode
public void setLastHeightSpec(int heightSpec)
setLastHeightSpec
in interface DiffNode
public java.util.List<DiffNode> getChildren()
getChildren
in interface DiffNode
public com.facebook.litho.LayoutOutput getContentOutput()
getContentOutput
in interface DiffNode
public void setContentOutput(com.facebook.litho.LayoutOutput content)
setContentOutput
in interface DiffNode
public VisibilityOutput getVisibilityOutput()
getVisibilityOutput
in interface DiffNode
public void setVisibilityOutput(VisibilityOutput visibilityOutput)
setVisibilityOutput
in interface DiffNode
public com.facebook.litho.LayoutOutput getBackgroundOutput()
getBackgroundOutput
in interface DiffNode
public void setBackgroundOutput(com.facebook.litho.LayoutOutput background)
setBackgroundOutput
in interface DiffNode
public com.facebook.litho.LayoutOutput getForegroundOutput()
getForegroundOutput
in interface DiffNode
public void setForegroundOutput(com.facebook.litho.LayoutOutput foreground)
setForegroundOutput
in interface DiffNode
public com.facebook.litho.LayoutOutput getBorderOutput()
getBorderOutput
in interface DiffNode
public void setBorderOutput(com.facebook.litho.LayoutOutput border)
setBorderOutput
in interface DiffNode
public com.facebook.litho.LayoutOutput getHostOutput()
getHostOutput
in interface DiffNode
public void setHostOutput(com.facebook.litho.LayoutOutput host)
setHostOutput
in interface DiffNode