KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > swingwtx > swing > tree > TreeNode


1 /*
2    SwingWT
3    Copyright(c)2003-2004, R. Rawson-Tetley
4
5    For more information on distributing and using this program, please
6    see the accompanying "COPYING" file.
7
8    Contact me by electronic mail: bobintetley@users.sourceforge.net
9
10    $Log: TreeNode.java,v $
11    Revision 1.4 2003/12/14 09:13:39 bobintetley
12    Added CVS log to source headers
13
14 */

15
16 package swingwtx.swing.tree;
17
18 import java.util.Enumeration JavaDoc;
19
20 public interface TreeNode
21 {
22
23     TreeNode getChildAt(int childIndex);
24     int getChildCount();
25     TreeNode getParent();
26     int getIndex(TreeNode node);
27     boolean getAllowsChildren();
28     boolean isLeaf();
29     Enumeration JavaDoc children();
30     
31 }
32
Popular Tags