public class LayoutStateContext extends java.lang.Object implements CalculationStateContext
Modifier and Type | Method and Description |
---|---|
DiffNode |
consumeNestedTreeDiffNode() |
MeasuredResultCache |
getCache() |
ComponentTree |
getComponentTree() |
DiffNode |
getCurrentDiffTree() |
TreeFuture |
getLayoutStateFuture() |
int |
getLayoutVersion() |
java.lang.String |
getLifecycleDebugString() |
PerfEvent |
getPerfEvent() |
static LayoutStateContext |
getTestInstance(ComponentContext c)
Deprecated.
|
TreeState |
getTreeState() |
boolean |
isFutureReleased() |
boolean |
isReleased()
Returns true if this layout associated with this instance is completed and no longer in use.
|
void |
markLayoutResumed() |
void |
setPerfEvent(PerfEvent perfEvent) |
@Deprecated public static LayoutStateContext getTestInstance(ComponentContext c)
public boolean isReleased()
public int getLayoutVersion()
getLayoutVersion
in interface CalculationStateContext
public boolean isFutureReleased()
isFutureReleased
in interface CalculationStateContext
public ComponentTree getComponentTree()
public TreeFuture getLayoutStateFuture()
getLayoutStateFuture
in interface CalculationStateContext
public DiffNode getCurrentDiffTree()
public DiffNode consumeNestedTreeDiffNode()
public TreeState getTreeState()
getTreeState
in interface CalculationStateContext
public MeasuredResultCache getCache()
getCache
in interface CalculationStateContext
public PerfEvent getPerfEvent()
public void setPerfEvent(PerfEvent perfEvent)
public void markLayoutResumed()
public java.lang.String getLifecycleDebugString()