public class ComponentRenderInfo extends BaseRenderInfo
RenderInfo that can render components.| Modifier and Type | Class and Description |
|---|---|
static class |
ComponentRenderInfo.Builder |
| Modifier and Type | Field and Description |
|---|---|
static String |
LAYOUT_DIFFING_ENABLED |
static String |
RECONCILIATION_ENABLED |
| Modifier and Type | Method and Description |
|---|---|
static ComponentRenderInfo.Builder |
create() |
static RenderInfo |
createEmpty()
Create empty
ComponentRenderInfo. |
Component |
getComponent() |
ComponentsLogger |
getComponentsLogger() |
String |
getLogTag() |
String |
getName() |
EventHandler<RenderCompleteEvent> |
getRenderCompleteEventHandler() |
boolean |
rendersComponent() |
addCustomAttribute, addDebugInfo, getCustomAttribute, getDebugInfo, getSpanSize, getViewBinder, getViewCreator, getViewType, hasCustomViewType, isFullSpan, isSticky, rendersView, setViewTypepublic static final String LAYOUT_DIFFING_ENABLED
public static final String RECONCILIATION_ENABLED
public static ComponentRenderInfo.Builder create()
public static RenderInfo createEmpty()
ComponentRenderInfo.public Component getComponent()
getComponent in interface RenderInfogetComponent in class BaseRenderInfoComponent if RenderInfo was created through create(), otherwise it will throw UnsupportedOperationException. If this method is accessed from RenderInfo type,
BaseRenderInfo.rendersComponent() should be queried first before accessing.public EventHandler<RenderCompleteEvent> getRenderCompleteEventHandler()
getRenderCompleteEventHandler in interface RenderInfogetRenderCompleteEventHandler in class BaseRenderInfoEventHandler if RenderInfo was created
through create(), otherwise it will throw UnsupportedOperationException.public ComponentsLogger getComponentsLogger()
getComponentsLogger in interface RenderInfogetComponentsLogger in class BaseRenderInfoComponentsLogger if RenderInfo was created through create(), null otherwisepublic String getLogTag()
getLogTag in interface RenderInfogetLogTag in class BaseRenderInfoRenderInfo was created through create(), null otherwisepublic boolean rendersComponent()
rendersComponent in interface RenderInforendersComponent in class BaseRenderInfoRenderInfo was created through create(),
or false otherwise. This should be queried before accessing BaseRenderInfo.getComponent() from
RenderInfo type.public String getName()