L
- public abstract class TestComponent extends Component
Component.Builder<T extends Component.Builder<T>>, Component.ContainerBuilder<T extends Component.ContainerBuilder<T>>
ComponentLifecycle.MountType, ComponentLifecycle.RenderData, ComponentLifecycle.StateContainer, ComponentLifecycle.StateUpdate
Modifier and Type | Field and Description |
---|---|
protected boolean |
mIsUnique |
Modifier | Constructor and Description |
---|---|
protected |
TestComponent() |
Modifier and Type | Method and Description |
---|---|
Object |
dispatchOnEvent(EventHandler eventHandler,
Object eventState) |
boolean |
equals(Object o) |
List<EventHandler<?>> |
getDispatchedEventHandlers() |
String |
getSimpleName()
Mostly used by logging to provide more readable messages.
|
int |
hashCode() |
boolean |
isBound() |
boolean |
isMounted() |
void |
resetInteractions()
Reset the tracking of which methods have been called on this component.
|
boolean |
wasMeasureCalled() |
boolean |
wasOnBindCalled() |
boolean |
wasOnBoundsDefinedCalled() |
boolean |
wasOnMountCalled() |
boolean |
wasOnUnbindCalled() |
boolean |
wasOnUnmountCalled() |
clearCachedLayout, copyInterStageImpl, getEventDispatcher, getId, getScopedContext, getStateContainer, isEquivalentTo, makeShallowCopy, measure, recordEventTrigger, releaseCachedLayout, setScopedContext, updateInternalChildState, willRender
acceptTriggerEvent, acquireDiff, acquireOutput, applyPreviousRenderData, callsShouldUpdateOnMount, canMeasure, canMountIncrementally, canPreallocate, createInitialState, createMountContent, dispatchErrorEvent, dispatchErrorEvent, getEventTrigger, getExtraAccessibilityNodeAt, getExtraAccessibilityNodesCount, getMountType, getTreePropsForChildren, hasState, implementsAccessibility, implementsExtraAccessibilityNodes, isMountSizeDependent, isPureRender, needsPreviousRenderData, newEventHandler, newEventHandler, newEventTrigger, onBind, onBoundsDefined, onCreateLayout, onCreateLayoutWithSizeSpec, onCreateMountContent, onCreateMountContentPool, onCreateTransition, onError, onLoadStyle, onMeasure, onMeasureBaseline, onMount, onPopulateAccessibilityNode, onPopulateExtraAccessibilityNode, onPrepare, onUnbind, onUnmount, poolSize, populateTreeProps, recordRenderData, releaseDiff, releaseOutput, resolve, shouldUpdate, shouldUseDisplayList, transferState
public String getSimpleName()
Component
getSimpleName
in class Component
public boolean wasOnMountCalled()
public boolean isMounted()
public boolean wasOnUnmountCalled()
public boolean wasOnBoundsDefinedCalled()
public boolean wasOnBindCalled()
public boolean isBound()
public boolean wasOnUnbindCalled()
public boolean wasMeasureCalled()
public void resetInteractions()
public Object dispatchOnEvent(EventHandler eventHandler, Object eventState)
dispatchOnEvent
in interface EventDispatcher
dispatchOnEvent
in class ComponentLifecycle
public List<EventHandler<?>> getDispatchedEventHandlers()