public final class Column extends Component
Component
that renders its children in a column.Modifier and Type | Class and Description |
---|---|
static class |
Column.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 Column.Builder |
create(ComponentContext context) |
static Column.Builder |
create(ComponentContext context,
int defStyleAttr,
int defStyleRes) |
static Column.Builder |
create(ComponentContext context,
int defStyleAttr,
int defStyleRes,
java.lang.String simpleName) |
static Column.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 Column.Builder create(ComponentContext context)
public static Column.Builder create(ComponentContext context, java.lang.String simpleName)
public static Column.Builder create(ComponentContext context, int defStyleAttr, int defStyleRes)
public static Column.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