public final class Row extends Component
Component
that renders its children in a row.Modifier and Type | Class and Description |
---|---|
static class |
Row.Builder |
Component.ContainerBuilder<T extends Component.ContainerBuilder<T>>, Component.MountType, Component.RenderData
Modifier and Type | Method and Description |
---|---|
protected boolean |
canResolve()
Indicate that this component implements its own
#resolve(LayoutStateContext,
ComponentContext) logic instead of going through #render(ComponentContext) . |
static Row.Builder |
create(ComponentContext context) |
static Row.Builder |
create(ComponentContext context,
int defStyleAttr,
int defStyleRes) |
static Row.Builder |
create(ComponentContext context,
int defStyleAttr,
int defStyleRes,
java.lang.String simpleName) |
static Row.Builder |
create(ComponentContext context,
java.lang.String simpleName) |
java.lang.String |
getSimpleName() |
boolean |
isEquivalentProps(Component other,
boolean shouldCompareCommonProps)
Determine if this component has equivalent props to a given component.
|
protected LithoNode |
resolve(RenderStateContext renderStateContext,
ComponentContext c)
Resolves the
ComponentLayout for the given Component . |
protected boolean |
usesLocalStateContainer() |
canMeasure, clone, createMountContent, dispatchErrorEvent, dispatchOnEvent, dispatchOnEventImpl, equals, excludeFromIncrementalMount, getCommonProps, getDynamicProps, getErrorHandler, getEventDispatcher, getEventTrigger, getEventTrigger, getHandle, getMountType, getTreePropFromParent, getTypeId, hasChildLithoViews, hasClickHandlerSet, hashCode, implementsShouldUpdate, isEqualivalentTreeProps, isEquivalentCommonProps, isEquivalentTo, isEquivalentTo, isLayoutSpecWithSizeSpec, isPureRender, isPureRender, makeShallowCopy, measure, measure, measureMightNotCacheInternalNode, newEventHandler, newEventTrigger, newEventTrigger, onCreateMountContent, onCreateTransition, onLoadStyle, onPopulateAccessibilityNode, onPopulateExtraAccessibilityNode, prepare, registerWorkingRange, render, retrieveValue, shouldUpdate, toString, transferState, willRender
protected boolean canResolve()
Component
#resolve(LayoutStateContext,
ComponentContext)
logic instead of going through #render(ComponentContext)
.public static Row.Builder create(ComponentContext context)
public static Row.Builder create(ComponentContext context, java.lang.String simpleName)
public static Row.Builder create(ComponentContext context, int defStyleAttr, int defStyleRes)
public static Row.Builder create(ComponentContext context, int defStyleAttr, int defStyleRes, java.lang.String simpleName)
protected LithoNode resolve(RenderStateContext renderStateContext, ComponentContext c)
Component
ComponentLayout
for the given Component
.public boolean isEquivalentProps(Component other, boolean shouldCompareCommonProps)
Component
isEquivalentProps
in class Component
other
- the component to compare topublic java.lang.String getSimpleName()
getSimpleName
in class Component
protected boolean usesLocalStateContainer()
usesLocalStateContainer
in class Component