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, setViewType
public 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 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 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 String getName()