org.apache.myfaces.custom.tree.renderkit.html
public class HtmlTreeRenderer extends HtmlTableRendererBase
Version: $Revision: 239380 $ $Date: 2005-08-23 11:11:59 +0200 (Tue, 23 Aug 2005) $
Method Summary | |
---|---|
void | encodeBegin(FacesContext facesContext, UIComponent uiComponent) |
void | encodeChildren(FacesContext facesContext, UIComponent component) |
void | encodeEnd(FacesContext facesContext, UIComponent component) |
protected String | getLayoutImage(HtmlTree tree, int state) |
boolean | getRendersChildren() |
protected void | renderChildren(FacesContext facesContext, ResponseWriter writer, HtmlTree tree, List children, int maxLevel, IconProvider iconProvider, UIComponent component) Renders the children. |
protected void | renderChildren(FacesContext facesContext, ResponseWriter writer, HtmlTree tree, List children, int maxLevel, IconProvider iconProvider, int rowClassIndex, UIComponent component) Renders the children given the rowClassIndex. |
protected void | renderColumnFooterRow(FacesContext facesContext, ResponseWriter writer, UIComponent component, String footerStyleClass, int maxLevel) |
protected void | renderColumnHeaderRow(FacesContext facesContext, ResponseWriter writer, UIComponent component, String headerStyleClass, int maxLevel) |
protected void | renderFacet(FacesContext facesContext, ResponseWriter writer, UIComponent component, boolean header, int maxLevel) Overrides super renderFacet to render the HtmlTree facets. |
protected void | renderTreeColumnChild(FacesContext facesContext, ResponseWriter writer, UIComponent component, HtmlTree tree, HtmlTreeNode child, int maxLevel, IconProvider iconProvider) Render the column where the tree is displayed. |
Renders the children.
Parameters: facesContext The facesContext. writer The writer. tree The tree component. children The children to render. maxLevel The maximum level. iconProvider The icon provider.
Throws: IOException Throws an IOException.
Renders the children given the rowClassIndex.
Parameters: 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.
Throws: IOException Throws an IOException.
Overrides super renderFacet to render the HtmlTree facets.
Parameters: facesContext The facesContext writer The writer. component The component. header Whether there is a header. maxLevel The max level for the rendered tree.
Throws: IOException Throws IOException.
Render the column where the tree is displayed.
Parameters: facesContext The facesContext. writer The writer. component The component that will contain the tree. Null for default tree or HtmlTreeColumnfor table rendering. tree The tree, child The tree node child. maxLevel The max number of levels. iconProvider The iconProvider.
Throws: IOException Throws IOException.