public interface DiffNode
extends java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static int |
UNSPECIFIED |
Modifier and Type | Method and Description |
---|---|
void |
addChild(DiffNode node) |
LithoRenderUnit |
getBackgroundOutput() |
LithoRenderUnit |
getBorderOutput() |
DiffNode |
getChildAt(int i) |
int |
getChildCount() |
java.util.List<DiffNode> |
getChildren() |
Component |
getComponent() |
java.lang.String |
getComponentGlobalKey() |
LithoRenderUnit |
getContentOutput() |
LithoRenderUnit |
getForegroundOutput() |
LithoRenderUnit |
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() |
java.lang.Object |
getLayoutData() |
Mountable<?> |
getMountable() |
ScopedComponentInfo |
getScopedComponentInfo() |
VisibilityOutput |
getVisibilityOutput() |
void |
setBackgroundOutput(LithoRenderUnit background) |
void |
setBorderOutput(LithoRenderUnit border) |
void |
setComponent(Component component,
java.lang.String globalKey,
ScopedComponentInfo scopedComponentInfo) |
void |
setContentOutput(LithoRenderUnit content) |
void |
setForegroundOutput(LithoRenderUnit foreground) |
void |
setHostOutput(LithoRenderUnit 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 |
setLayoutData(java.lang.Object layoutData) |
void |
setMountable(Mountable<?> mountable) |
void |
setVisibilityOutput(VisibilityOutput visibilityOutput) |
static final int UNSPECIFIED
int getChildCount()
DiffNode getChildAt(int i)
Component getComponent()
java.lang.String getComponentGlobalKey()
ScopedComponentInfo getScopedComponentInfo()
java.lang.Object getLayoutData()
void setLayoutData(java.lang.Object layoutData)
void setComponent(Component component, java.lang.String globalKey, ScopedComponentInfo scopedComponentInfo)
float getLastMeasuredWidth()
Component
returned for the
width. This is used together with LithoNode#getLastWidthSpec()
to implement measure
caching.void setLastMeasuredWidth(float lastMeasuredWidth)
Component
returned
for the width.float getLastMeasuredHeight()
Component
returned for the
height. This is used together with LithoNode#getLastHeightSpec()
to implement measure
caching.void setLastMeasuredHeight(float lastMeasuredHeight)
Component
returned
for the height.int getLastWidthSpec()
void setLastWidthSpec(int widthSpec)
int getLastHeightSpec()
void setLastHeightSpec(int heightSpec)
java.util.List<DiffNode> getChildren()
void addChild(DiffNode node)
LithoRenderUnit getContentOutput()
void setContentOutput(LithoRenderUnit content)
VisibilityOutput getVisibilityOutput()
void setVisibilityOutput(VisibilityOutput visibilityOutput)
LithoRenderUnit getBackgroundOutput()
void setBackgroundOutput(LithoRenderUnit background)
LithoRenderUnit getForegroundOutput()
void setForegroundOutput(LithoRenderUnit foreground)
LithoRenderUnit getBorderOutput()
void setBorderOutput(LithoRenderUnit border)
LithoRenderUnit getHostOutput()
void setHostOutput(LithoRenderUnit host)
Mountable<?> getMountable()
void setMountable(Mountable<?> mountable)