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 java.lang.String |
ERROR_EVENT_HANDLER |
static java.lang.String |
LAYOUT_DIFFING_ENABLED |
static java.lang.String |
RECONCILIATION_ENABLED |
| Modifier and Type | Method and Description |
|---|---|
static ComponentRenderInfo.Builder |
create() |
static RenderInfo |
createEmpty()
Create empty
ComponentRenderInfo. |
Component |
getComponent() |
ComponentsLogger |
getComponentsLogger() |
java.lang.String |
getLogTag() |
java.lang.String |
getName() |
EventHandler<RenderCompleteEvent> |
getRenderCompleteEventHandler() |
boolean |
rendersComponent() |
addCustomAttribute, addDebugInfo, getCustomAttribute, getDebugInfo, getSpanSize, getViewBinder, getViewCreator, getViewType, hasCustomViewType, isFullSpan, isSticky, rendersView, setViewTypepublic static final java.lang.String LAYOUT_DIFFING_ENABLED
public static final java.lang.String RECONCILIATION_ENABLED
public static final java.lang.String ERROR_EVENT_HANDLER
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 java.lang.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 java.lang.String getName()