public class YahooTreeRenderer extends BaseRenderer
Modifier and Type | Field and Description |
---|---|
protected int |
nodeCounter |
protected static java.lang.String |
TREE_SCRIPTS_WRITTEN |
Constructor and Description |
---|
YahooTreeRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected void |
generateNode(UITree.TreeNode node,
javax.faces.context.ResponseWriter out,
java.lang.String parentVarName)
Generates the JavaScript required to create the branch of a tree from
the given node.
|
protected java.lang.String |
getNextVarName() |
assertParmeters, getParameterComponents, outputAttribute
protected int nodeCounter
protected static final java.lang.String TREE_SCRIPTS_WRITTEN
public void encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
encodeBegin
in class javax.faces.render.Renderer
java.io.IOException
protected void generateNode(UITree.TreeNode node, javax.faces.context.ResponseWriter out, java.lang.String parentVarName) throws java.io.IOException
node
- The node to generateout
- Response writerparentVarName
- Name of the parent variable, null if the node has no parentjava.io.IOException
protected java.lang.String getNextVarName()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.