Class TreeRenderer

    • Constructor Detail

      • TreeRenderer

        public TreeRenderer()
    • Method Detail

      • 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
      • 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
      • encodeHorizontalTree

        protected void encodeHorizontalTree​(javax.faces.context.FacesContext context,
                                            Tree tree,
                                            TreeNode root)
                                     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
      • 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
      • encodeIcon

        protected void encodeIcon​(javax.faces.context.FacesContext context,
                                  UITreeNode uiTreeNode,
                                  boolean expanded)
                           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