01: package fr.aliacom.common.ui.tree;
02:
03: import fr.aliacom.common.ui.IIcon;
04:
05: /**
06: * @author tom
07: *
08: * (C) 2001, 2002 Thomas Cataldo
09: */
10: public interface ITreeNode {
11:
12: ITreeNode[] children();
13:
14: boolean getAllowChildren();
15:
16: ITreeNode getChildAt(int i);
17:
18: int getChildCount();
19:
20: ITreeNode getParent();
21:
22: boolean isLeaf();
23:
24: String getText();
25:
26: IIcon getIcon();
27:
28: public void addChild(ITreeNode node);
29:
30: }
|