Class TreeNode

java.lang.Object
org.exoplatform.portal.webui.navigation.TreeNode

public class TreeNode extends Object
Created by The eXo Platform SARL Author : Tam Nguyen tamndrok@gmail.com Aug 28, 2009 5:37:31 PM
  • Constructor Details

    • TreeNode

      public TreeNode()
  • Method Details

    • isExpanded

      public boolean isExpanded()
    • setExpanded

      public void setExpanded(boolean isExpanded)
    • getNode

      public org.exoplatform.portal.mop.user.UserNode getNode()
    • getChildren

      public List<TreeNode> getChildren()
    • getChildrenSize

      public int getChildrenSize()
    • setChildren

      public void setChildren(Collection<org.exoplatform.portal.mop.user.UserNode> children) throws Exception
      Throws:
      Exception
    • hasChild

      public boolean hasChild()
    • findNodes

      public TreeNode findNodes(String nodeId)
      Help to find nodes on the whole tree, not only in the childrens of this node
      Parameters:
      nodeId - - id of the UserNode
      Returns:
      null if not found