org.primefaces.component.tree
Class TreeRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.primefaces.renderkit.CoreRenderer
          extended by org.primefaces.component.tree.TreeRenderer

public class TreeRenderer
extends CoreRenderer


Constructor Summary
TreeRenderer()
           
 
Method Summary
 void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
 void decodeSelection(javax.faces.context.FacesContext context, Tree tree)
           
protected  void encodeCheckbox(javax.faces.context.FacesContext context, Tree tree, TreeNode node, boolean selected)
           
 void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
 void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
protected  void encodeIconStates(javax.faces.context.FacesContext context, Tree tree)
           
protected  void encodeMarkup(javax.faces.context.FacesContext context, Tree tree)
           
protected  void encodeScript(javax.faces.context.FacesContext context, Tree tree)
           
protected  void encodeSelectionHolder(javax.faces.context.FacesContext context, Tree tree)
           
 void encodeTreeNode(javax.faces.context.FacesContext context, Tree tree, TreeNode node, String clientId, String rowKey, boolean dynamic, boolean checkbox)
           
 void encodeTreeNodeChildren(javax.faces.context.FacesContext context, Tree tree, TreeNode node, String clientId, String rowKey, boolean dynamic, boolean checkbox)
           
 boolean getRendersChildren()
           
 
Methods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endScript, escapeText, getActionURL, getEscapedClientId, getOnclickBehaviors, getResourceRequestPath, getResourceURL, isAjaxRequest, isPostBack, isPostback, isValueBlank, isValueEmpty, renderChild, renderChildren, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, shouldRenderAttribute, startScript
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, getConvertedValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeRenderer

public TreeRenderer()
Method Detail

decode

public void decode(javax.faces.context.FacesContext context,
                   javax.faces.component.UIComponent component)
Overrides:
decode in class javax.faces.render.Renderer

decodeSelection

public void decodeSelection(javax.faces.context.FacesContext context,
                            Tree tree)

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext context,
                      javax.faces.component.UIComponent component)
               throws IOException
Overrides:
encodeEnd in class javax.faces.render.Renderer
Throws:
IOException

encodeScript

protected void encodeScript(javax.faces.context.FacesContext context,
                            Tree tree)
                     throws IOException
Throws:
IOException

encodeMarkup

protected void encodeMarkup(javax.faces.context.FacesContext context,
                            Tree tree)
                     throws IOException
Throws:
IOException

encodeTreeNode

public void encodeTreeNode(javax.faces.context.FacesContext context,
                           Tree tree,
                           TreeNode node,
                           String clientId,
                           String rowKey,
                           boolean dynamic,
                           boolean checkbox)
                    throws IOException
Throws:
IOException

encodeTreeNodeChildren

public void encodeTreeNodeChildren(javax.faces.context.FacesContext context,
                                   Tree tree,
                                   TreeNode node,
                                   String clientId,
                                   String rowKey,
                                   boolean dynamic,
                                   boolean checkbox)
                            throws IOException
Throws:
IOException

encodeIconStates

protected void encodeIconStates(javax.faces.context.FacesContext context,
                                Tree tree)
                         throws IOException
Throws:
IOException

encodeSelectionHolder

protected void encodeSelectionHolder(javax.faces.context.FacesContext context,
                                     Tree tree)
                              throws IOException
Throws:
IOException

encodeCheckbox

protected void encodeCheckbox(javax.faces.context.FacesContext context,
                              Tree tree,
                              TreeNode node,
                              boolean selected)
                       throws IOException
Throws:
IOException

encodeChildren

public void encodeChildren(javax.faces.context.FacesContext context,
                           javax.faces.component.UIComponent component)
                    throws IOException
Overrides:
encodeChildren in class javax.faces.render.Renderer
Throws:
IOException

getRendersChildren

public boolean getRendersChildren()
Overrides:
getRendersChildren in class javax.faces.render.Renderer


Copyright © 2012. All Rights Reserved.