Package org.primefaces.component.tree
Class TreeRenderer
java.lang.Object
javax.faces.render.Renderer
org.primefaces.renderkit.CoreRenderer
org.primefaces.component.tree.TreeRenderer
-
Nested Class Summary
-
Field Summary
Fields inherited from class javax.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
decode
(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) void
decodeDragDrop
(javax.faces.context.FacesContext context, Tree tree, TreeNode root) void
decodeSelection
(javax.faces.context.FacesContext context, Tree tree, TreeNode root) 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 root, TreeNode node, String clientId, String rowKey, TreeRenderer.NodeOrder nodeOrder, boolean dynamic, boolean checkbox) protected void
encodeHorizontalTreeNodeChildren
(javax.faces.context.FacesContext context, Tree tree, TreeNode root, 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 root, TreeNode node, String clientId, boolean dynamic, boolean checkbox, boolean dragdrop) void
encodeTreeNodeChildren
(javax.faces.context.FacesContext context, Tree tree, TreeNode<?> root, TreeNode<?> node, String clientId, boolean dynamic, boolean checkbox, boolean droppable) void
encodeVerticalTree
(javax.faces.context.FacesContext context, Tree tree, TreeNode root) getFilterConstraint
(Tree tree) boolean
Methods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, encodeIndexedId, endsWithLenghtUnit, getEventBehaviors, getHighlighter, getIconOnlyButtonText, getResourceRequestPath, getResourceURL, getStyleBuilder, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, logDevelopmentWarning, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderAttribute, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId
Methods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, getConvertedValue
-
Constructor Details
-
TreeRenderer
public TreeRenderer()
-
-
Method Details
-
decode
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) - Overrides:
decode
in classjavax.faces.render.Renderer
-
decodeSelection
-
decodeDragDrop
-
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException - Overrides:
encodeEnd
in classjavax.faces.render.Renderer
- Throws:
IOException
-
encodeFilteredNodes
protected void encodeFilteredNodes(javax.faces.context.FacesContext context, Tree tree, TreeNode<?> node, String filteredValue, Locale filterLocale) throws IOException - Throws:
IOException
-
encodeScript
- Throws:
IOException
-
encodeMarkup
- Throws:
IOException
-
encodeVerticalTree
public void encodeVerticalTree(javax.faces.context.FacesContext context, Tree tree, TreeNode root) throws IOException - Throws:
IOException
-
encodeFilter
protected void encodeFilter(javax.faces.context.FacesContext context, Tree tree, String name) throws IOException - Throws:
IOException
-
encodeHorizontalTree
protected void encodeHorizontalTree(javax.faces.context.FacesContext context, Tree tree, TreeNode root) throws IOException - Throws:
IOException
-
encodeHorizontalTreeNode
protected void encodeHorizontalTreeNode(javax.faces.context.FacesContext context, Tree tree, TreeNode root, TreeNode node, String clientId, String rowKey, TreeRenderer.NodeOrder nodeOrder, boolean dynamic, boolean checkbox) throws IOException - Throws:
IOException
-
encodeHorizontalTreeNodeChildren
protected void encodeHorizontalTreeNodeChildren(javax.faces.context.FacesContext context, Tree tree, TreeNode root, TreeNode node, String clientId, String rowKey, boolean dynamic, boolean checkbox) throws IOException - Throws:
IOException
-
encodeConnector
protected void encodeConnector(javax.faces.context.FacesContext context, Tree tree, TreeRenderer.NodeOrder nodeOrder) throws IOException - Throws:
IOException
-
encodeTreeNode
public void encodeTreeNode(javax.faces.context.FacesContext context, Tree tree, TreeNode root, TreeNode node, String clientId, boolean dynamic, boolean checkbox, boolean dragdrop) throws IOException - Throws:
IOException
-
encodeTreeNodeChildren
public void encodeTreeNodeChildren(javax.faces.context.FacesContext context, Tree tree, TreeNode<?> root, TreeNode<?> node, String clientId, boolean dynamic, boolean checkbox, boolean droppable) throws IOException - Throws:
IOException
-
encodeDropTarget
protected void encodeDropTarget(javax.faces.context.FacesContext context, Tree tree) throws IOException - Throws:
IOException
-
encodeIconStates
protected void encodeIconStates(javax.faces.context.FacesContext context, Tree tree, WidgetBuilder wb) throws IOException - Throws:
IOException
-
encodeIcon
protected void encodeIcon(javax.faces.context.FacesContext context, UITreeNode uiTreeNode, boolean expanded) throws IOException - Throws:
IOException
-
encodeStateHolder
protected void encodeStateHolder(javax.faces.context.FacesContext context, Tree tree, String id, String value) throws IOException - Throws:
IOException
-
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException - Overrides:
encodeChildren
in classjavax.faces.render.Renderer
- Throws:
IOException
-
getRendersChildren
public boolean getRendersChildren()- Overrides:
getRendersChildren
in classjavax.faces.render.Renderer
-
getFilterConstraint
-