Class TreeRenderer

java.lang.Object
javax.faces.render.Renderer
org.primefaces.renderkit.CoreRenderer
org.primefaces.component.tree.TreeRenderer

public class TreeRenderer extends CoreRenderer
  • Constructor Details

    • TreeRenderer

      public TreeRenderer()
  • Method Details

    • decode

      public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
      Overrides:
      decode in class javax.faces.render.Renderer
    • decodeSelection

      public void decodeSelection(javax.faces.context.FacesContext context, Tree tree, TreeNode root)
    • decodeDragDrop

      public void decodeDragDrop(javax.faces.context.FacesContext context, Tree tree, TreeNode root)
    • encodeEnd

      public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
      Overrides:
      encodeEnd in class javax.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

      protected void encodeScript(javax.faces.context.FacesContext context, Tree tree) throws IOException
      Throws:
      IOException
    • encodeMarkup

      protected void encodeMarkup(javax.faces.context.FacesContext context, Tree tree) throws IOException
      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 class javax.faces.render.Renderer
      Throws:
      IOException
    • getRendersChildren

      public boolean getRendersChildren()
      Overrides:
      getRendersChildren in class javax.faces.render.Renderer
    • getFilterConstraint

      public FilterConstraint getFilterConstraint(Tree tree)