public class YahooTreeRenderer extends BaseRenderer
| Modifier and Type | Field and Description |
|---|---|
protected int |
nodeCounter |
protected static 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,
String parentVarName)
Generates the JavaScript required to create the branch of a tree from
the given node.
|
protected String |
getNextVarName() |
assertParmeters, getParameterComponents, outputAttributeprotected int nodeCounter
protected static final String TREE_SCRIPTS_WRITTEN
public void encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws IOException
encodeBegin in class javax.faces.render.RendererIOExceptionprotected void generateNode(UITree.TreeNode node, javax.faces.context.ResponseWriter out, String parentVarName) throws IOException
node - The node to generateout - Response writerparentVarName - Name of the parent variable, null if the node has no parentIOExceptionprotected String getNextVarName()
Copyright © 2005–2018 Alfresco Software. All rights reserved.