1 12 13 package com.openedit.webui.tree; 14 15 import java.util.List ; 16 17 18 23 public interface WebTreeModel 24 { 25 36 public Object getChild(Object parent, int index); 37 38 public List getChildren(Object parent); 39 40 public List getChildrenInRows(Object inParent, int inColCount); 41 42 51 public int getChildCount(Object parent); 52 53 63 public int getIndexOfChild(Object parent, Object child); 64 65 75 public boolean isLeaf(Object node); 76 77 82 public Object getRoot(); 83 84 92 public String getId( Object inNode ); 93 94 public Object getParent(Object inNode); 95 96 public Object getChildById(String inId); 97 } 98 | Popular Tags |