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(FacesContext context,
UIComponent component) |
protected void |
generateNode(UITree.TreeNode node,
ResponseWriter out,
String parentVarName)
Generates the JavaScript required to create the branch of a tree from
the given node.
|
protected String |
getNextVarName() |
assertParmeters, getParameterComponents, outputAttribute
convertClientId, decode, encodeChildren, encodeEnd, getConvertedValue, getRendersChildren
protected int nodeCounter
protected static final String TREE_SCRIPTS_WRITTEN
public void encodeBegin(FacesContext context, UIComponent component) throws IOException
encodeBegin
in class Renderer
IOException
protected void generateNode(UITree.TreeNode node, ResponseWriter out, String parentVarName) throws IOException
node
- The node to generateout
- Response writerparentVarName
- Name of the parent variable, null if the node has no parentIOException
protected String getNextVarName()
Copyright © 2005–2017 Alfresco Software. All rights reserved.