nu.zoom.ldap.eon.directory.tree
Class DirectoryTreeNode

java.lang.Object
  extended by nu.zoom.ldap.eon.directory.tree.DirectoryTreeNode
All Implemented Interfaces:
MutableTreeNode, TreeNode

public class DirectoryTreeNode
extends Object
implements MutableTreeNode

Version:
$Revision: 1.10 $
Author:
$Author: johan $

Nested Class Summary
 class DirectoryTreeNode.IteratorEnumerator
           
 
Method Summary
 Enumeration children()
           
 boolean getAllowsChildren()
           
 TreeNode getChildAt(int childIndex)
           
 int getChildCount()
           
 int getIndex(TreeNode node)
           
 TreeNode getParent()
           
 void insert(MutableTreeNode child, int index)
           
 boolean isLeaf()
           
 void remove(int index)
           
 void remove(MutableTreeNode node)
           
 void removeFromParent()
           
 void result(ArrayList<String> childNames)
           
 void setParent(MutableTreeNode newParent)
           
 void setUserObject(Object object)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getChildAt

public TreeNode getChildAt(int childIndex)
Specified by:
getChildAt in interface TreeNode

getChildCount

public int getChildCount()
Specified by:
getChildCount in interface TreeNode

getParent

public TreeNode getParent()
Specified by:
getParent in interface TreeNode

getIndex

public int getIndex(TreeNode node)
Specified by:
getIndex in interface TreeNode

getAllowsChildren

public boolean getAllowsChildren()
Specified by:
getAllowsChildren in interface TreeNode

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in interface TreeNode

children

public Enumeration children()
Specified by:
children in interface TreeNode

result

public void result(ArrayList<String> childNames)
            throws NamingException
Throws:
NamingException

toString

public String toString()
Overrides:
toString in class Object

insert

public void insert(MutableTreeNode child,
                   int index)
Specified by:
insert in interface MutableTreeNode

remove

public void remove(int index)
Specified by:
remove in interface MutableTreeNode

remove

public void remove(MutableTreeNode node)
Specified by:
remove in interface MutableTreeNode

removeFromParent

public void removeFromParent()
Specified by:
removeFromParent in interface MutableTreeNode

setParent

public void setParent(MutableTreeNode newParent)
Specified by:
setParent in interface MutableTreeNode

setUserObject

public void setUserObject(Object object)
Specified by:
setUserObject in interface MutableTreeNode


Copyright © 2011. All Rights Reserved.