Class TreeViewTag

  • All Implemented Interfaces:, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
    Direct Known Subclasses:

    public class TreeViewTag
    extends IncludeTag
    See Also:
    Serialized Form
    • Constructor Detail

      • TreeViewTag

        public TreeViewTag()
    • Method Detail

      • doStartTag

        public int doStartTag()
                       throws javax.servlet.jsp.JspException
        Specified by:
        doStartTag in interface javax.servlet.jsp.tagext.Tag
        doStartTag in class IncludeTag
      • doEndTag

        public int doEndTag()
        Specified by:
        doEndTag in interface javax.servlet.jsp.tagext.Tag
        doEndTag in class IncludeTag
      • initTag

        protected void initTag()
      • handleTreePrefix

        protected void handleTreePrefix()
      • setDataAttribute

        public void setDataAttribute​(DataAttribute dataAttribute)
      • setTreeDataAttribute

        public void setTreeDataAttribute​(DataAttribute dataAttribute)
      • setPrefix

        public void setPrefix​(java.lang.String treePrefix)
      • setNode

        public void setNode​(java.lang.Object treeNode)
      • setHint

        public void setHint​(java.lang.String treeHint)
      • getCss

        public java.lang.String getCss()
      • setCss

        public void setCss​(java.lang.String treeCSS)
      • setWrapper

        public void setWrapper​(boolean wrapper)
      • setLevel

        public void setLevel​(int treeLevel)
      • setDragdrop

        public void setDragdrop​(boolean dragdrop)
      • setCollection

        public void setCollection​(java.util.Collection treeCollection)
      • setLink

        public void setLink​(java.lang.String treeLink)
      • setAjax

        public void setAjax​(boolean ajaxLink)
      • setInput

        public void setInput​(java.lang.String treeInput)
      • setType

        public void setType​(java.lang.String treeType)
      • setChecked

        public void setChecked​(java.util.Collection treeChecked)
      • setDisabled

        public void setDisabled​(java.util.Collection treeDisabled)
      • setDisable

        public void setDisable​(int treeDisable)
      • setHighlighted

        public void setHighlighted​(java.util.Collection treeHighlighted)
      • setHighlight

        public void setHighlight​(int treeHighlight)
      • setRemoved

        public void setRemoved​(java.util.Collection treeRemoved)
      • setRetains

        public void setRetains​(java.util.Collection treeRetains)
      • setOpened

        public void setOpened​(java.util.Collection treeOpened)
      • setMemo

        public void setMemo​(java.lang.Object memo)
      • isMatchCollection

        public static boolean isMatchCollection​(java.lang.Object node,
                                                java.util.Collection collec,
                                                boolean descendant,
                                                boolean parent)
        Check if the given TreeNode is, is descendant or is parent of the given TreeNode Set.
        node - the node Object to work with
        collec - a Collection of node to look for
        descendant - Check if given node Object is Descendant of given Set
        parent - Check if given node Object is parent of given Set
        boolean true if the node Object matches