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, setViewType
public 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 RenderInfo
getComponent
in class BaseRenderInfo
Component
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 RenderInfo
getRenderCompleteEventHandler
in class BaseRenderInfo
EventHandler
if RenderInfo
was created
through create()
, otherwise it will throw UnsupportedOperationException
.public ComponentsLogger getComponentsLogger()
getComponentsLogger
in interface RenderInfo
getComponentsLogger
in class BaseRenderInfo
ComponentsLogger
if RenderInfo
was created through create()
, null otherwisepublic java.lang.String getLogTag()
getLogTag
in interface RenderInfo
getLogTag
in class BaseRenderInfo
RenderInfo
was created through create()
, null otherwisepublic boolean rendersComponent()
rendersComponent
in interface RenderInfo
rendersComponent
in class BaseRenderInfo
RenderInfo
was created through create()
,
or false otherwise. This should be queried before accessing BaseRenderInfo.getComponent()
from
RenderInfo
type.public java.lang.String getName()