public class TreeRenderer extends CoreRenderer
Modifier and Type | Class and Description |
---|---|
protected static class |
TreeRenderer.NodeOrder |
Constructor and Description |
---|
TreeRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
decodeDragDrop(javax.faces.context.FacesContext context,
Tree tree) |
void |
decodeSelection(javax.faces.context.FacesContext context,
Tree tree) |
void |
encodeChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected void |
encodeConnector(javax.faces.context.FacesContext context,
Tree tree,
TreeRenderer.NodeOrder nodeOrder) |
protected void |
encodeDropTarget(javax.faces.context.FacesContext context,
Tree tree) |
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected void |
encodeFilter(javax.faces.context.FacesContext context,
Tree tree,
String name) |
protected void |
encodeFilteredNodes(javax.faces.context.FacesContext context,
Tree tree,
TreeNode node,
String filteredValue,
Locale filterLocale) |
protected void |
encodeHorizontalTree(javax.faces.context.FacesContext context,
Tree tree,
TreeNode root) |
protected void |
encodeHorizontalTreeNode(javax.faces.context.FacesContext context,
Tree tree,
TreeNode node,
String clientId,
String rowKey,
TreeRenderer.NodeOrder nodeOrder,
boolean dynamic,
boolean checkbox) |
protected void |
encodeHorizontalTreeNodeChildren(javax.faces.context.FacesContext context,
Tree tree,
TreeNode node,
String clientId,
String rowKey,
boolean dynamic,
boolean checkbox) |
protected void |
encodeIcon(javax.faces.context.FacesContext context,
UITreeNode uiTreeNode,
boolean expanded) |
protected void |
encodeIconStates(javax.faces.context.FacesContext context,
Tree tree,
WidgetBuilder wb) |
protected void |
encodeMarkup(javax.faces.context.FacesContext context,
Tree tree) |
protected void |
encodeScript(javax.faces.context.FacesContext context,
Tree tree) |
protected void |
encodeStateHolder(javax.faces.context.FacesContext context,
Tree tree,
String id,
String value) |
void |
encodeTreeNode(javax.faces.context.FacesContext context,
Tree tree,
TreeNode node,
String clientId,
boolean dynamic,
boolean checkbox,
boolean dragdrop) |
void |
encodeTreeNodeChildren(javax.faces.context.FacesContext context,
Tree tree,
TreeNode node,
String clientId,
boolean dynamic,
boolean checkbox,
boolean droppable) |
void |
encodeVerticalTree(javax.faces.context.FacesContext context,
Tree tree,
TreeNode root) |
FilterConstraint |
getFilterConstraint(Tree tree) |
boolean |
getRendersChildren() |
buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, escapeText, getEventBehaviors, getHighlighter, getResourceRequestPath, getResourceURL, getWidgetBuilder, isGrouped, isValueBlank, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
decode
in class javax.faces.render.Renderer
public void decodeSelection(javax.faces.context.FacesContext context, Tree tree)
public void decodeDragDrop(javax.faces.context.FacesContext context, Tree tree)
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
encodeEnd
in class javax.faces.render.Renderer
IOException
protected void encodeFilteredNodes(javax.faces.context.FacesContext context, Tree tree, TreeNode node, String filteredValue, Locale filterLocale) throws IOException
IOException
protected void encodeScript(javax.faces.context.FacesContext context, Tree tree) throws IOException
IOException
protected void encodeMarkup(javax.faces.context.FacesContext context, Tree tree) throws IOException
IOException
public void encodeVerticalTree(javax.faces.context.FacesContext context, Tree tree, TreeNode root) throws IOException
IOException
protected void encodeFilter(javax.faces.context.FacesContext context, Tree tree, String name) throws IOException
IOException
protected void encodeHorizontalTree(javax.faces.context.FacesContext context, Tree tree, TreeNode root) throws IOException
IOException
protected void encodeHorizontalTreeNode(javax.faces.context.FacesContext context, Tree tree, TreeNode node, String clientId, String rowKey, TreeRenderer.NodeOrder nodeOrder, boolean dynamic, boolean checkbox) throws IOException
IOException
protected void encodeHorizontalTreeNodeChildren(javax.faces.context.FacesContext context, Tree tree, TreeNode node, String clientId, String rowKey, boolean dynamic, boolean checkbox) throws IOException
IOException
protected void encodeConnector(javax.faces.context.FacesContext context, Tree tree, TreeRenderer.NodeOrder nodeOrder) throws IOException
IOException
public void encodeTreeNode(javax.faces.context.FacesContext context, Tree tree, TreeNode node, String clientId, boolean dynamic, boolean checkbox, boolean dragdrop) throws IOException
IOException
public void encodeTreeNodeChildren(javax.faces.context.FacesContext context, Tree tree, TreeNode node, String clientId, boolean dynamic, boolean checkbox, boolean droppable) throws IOException
IOException
protected void encodeDropTarget(javax.faces.context.FacesContext context, Tree tree) throws IOException
IOException
protected void encodeIconStates(javax.faces.context.FacesContext context, Tree tree, WidgetBuilder wb) throws IOException
IOException
protected void encodeIcon(javax.faces.context.FacesContext context, UITreeNode uiTreeNode, boolean expanded) throws IOException
IOException
protected void encodeStateHolder(javax.faces.context.FacesContext context, Tree tree, String id, String value) throws IOException
IOException
public void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
encodeChildren
in class javax.faces.render.Renderer
IOException
public boolean getRendersChildren()
getRendersChildren
in class javax.faces.render.Renderer
public FilterConstraint getFilterConstraint(Tree tree)
Copyright © 2020. All rights reserved.