public class ViewRenderInfo extends RenderInfo
RenderInfo
that can render views.Modifier and Type | Class and Description |
---|---|
static class |
ViewRenderInfo.Builder |
CLIP_CHILDREN
Modifier and Type | Method and Description |
---|---|
static ViewRenderInfo.Builder |
create() |
String |
getName() |
ViewBinder |
getViewBinder() |
ViewCreator |
getViewCreator() |
int |
getViewType() |
boolean |
rendersView() |
getComponent, getCustomAttribute, getSpanSize, isSticky, rendersComponent
public static ViewRenderInfo.Builder create()
public boolean rendersView()
rendersView
in class RenderInfo
RenderInfo
was created through create()
, or
false otherwise. This should be queried before accessing view related methods, such as
RenderInfo.getViewBinder()
, RenderInfo.getViewCreator()
, RenderInfo.getViewType()
and RenderInfo.setViewType(int)
from RenderInfo
type.public ViewBinder getViewBinder()
getViewBinder
in class RenderInfo
ViewBinder
if RenderInfo
was created through create()
, or otherwise it will throw UnsupportedOperationException
.
If this method is accessed from RenderInfo
type, RenderInfo.rendersView()
should be
queried first before accessing.public ViewCreator getViewCreator()
getViewCreator
in class RenderInfo
ViewCreator
if RenderInfo
was created through create()
, or otherwise it will throw UnsupportedOperationException
.
If this method is accessed from RenderInfo
type, RenderInfo.rendersView()
should be
queried first before accessing.public int getViewType()
getViewType
in class RenderInfo
RenderInfo
if it was created through create()
or otherwise it will throw UnsupportedOperationException
.
If this method is accessed from RenderInfo
type, RenderInfo.rendersView()
should be
queried first before accessing.public String getName()
getName
in class RenderInfo