encodeBegin
public void encodeBegin(FacesContext facesContext,
UIComponent uiComponent)
throws IOException
- encodeBegin in interface HtmlTableRendererBase
javax.faces.render.Renderer.encodeBegin(FacesContext, UIComponent)
encodeChildren
public void encodeChildren(FacesContext facesContext,
UIComponent component)
throws IOException
- encodeChildren in interface HtmlTableRendererBase
javax.faces.render.Renderer.encodeChildren(FacesContext, UIComponent)
encodeEnd
public void encodeEnd(FacesContext facesContext,
UIComponent component)
throws IOException
- encodeEnd in interface HtmlTableRendererBase
javax.faces.render.Renderer.encodeEnd(FacesContext, UIComponent)
getLayoutImage
protected String getLayoutImage(HtmlTree tree,
int state)
renderChildren
protected void renderChildren(FacesContext facesContext,
ResponseWriter writer,
HtmlTree tree,
List children,
int maxLevel,
IconProvider iconProvider,
UIComponent component)
throws IOException
Renders the children.
facesContext
- The facesContext.writer
- The writer.tree
- The tree component.children
- The children to render.maxLevel
- The maximum level.iconProvider
- The icon provider.
renderChildren
protected void renderChildren(FacesContext facesContext,
ResponseWriter writer,
HtmlTree tree,
List children,
int maxLevel,
IconProvider iconProvider,
int rowClassIndex,
UIComponent component)
throws IOException
Renders the children given the rowClassIndex.
facesContext
- The facesContext.writer
- The writer.tree
- The tree component.children
- The children to render.maxLevel
- The maximum level.iconProvider
- The icon provider.rowClassIndex
- The row class index.
renderColumnFooterRow
protected void renderColumnFooterRow(FacesContext facesContext,
ResponseWriter writer,
UIComponent component,
String footerStyleClass,
int maxLevel)
throws IOException
renderColumnHeaderRow
protected void renderColumnHeaderRow(FacesContext facesContext,
ResponseWriter writer,
UIComponent component,
String headerStyleClass,
int maxLevel)
throws IOException
renderFacet
protected void renderFacet(FacesContext facesContext,
ResponseWriter writer,
UIComponent component,
boolean header,
int maxLevel)
throws IOException
Overrides super renderFacet to render the
HtmlTree
facets.
facesContext
- The facesContextwriter
- The writer.component
- The component.header
- Whether there is a header.maxLevel
- The max level for the rendered tree.
renderTreeColumnChild
protected void renderTreeColumnChild(FacesContext facesContext,
ResponseWriter writer,
UIComponent component,
HtmlTree tree,
HtmlTreeNode child,
int maxLevel,
IconProvider iconProvider)
throws IOException
Render the column where the tree is displayed.
facesContext
- The facesContext.writer
- The writer.component
- The component that will contain the tree. Null for
default tree or HtmlTreeColumn
for table rendering.tree
- The tree,child
- The tree node child.maxLevel
- The max number of levels.iconProvider
- The iconProvider.