1 package org.catacomb.interlish.structure;
2
3
4
5
6 /*
7 lets you get the root and its nodes/leaves
8 possibly each node can be decorated in a variety of ways
9 should allow drag and drop etc within the tree
10
11 */
12
13
14
15 public interface Tree {
16
17
18 int SHOW_ROOT = 1;
19 int HIDE_ROOT = 2;
20 int AUTO_ROOT = 3;
21
22
23 // key thing here is to scale nicely - don't expand more than
24 // necessary and paginate long lists
25
26
27 TreeNode getRoot();
28
29 int getRootPolicy();
30
31
32 void setTreeChangeReporter(TreeChangeReporter tcr);
33
34 public Object[] getObjectPath(String s, boolean breq);
35
36
37
38 }