1 19 20 package org.netbeans.spi.viewmodel; 21 22 23 24 30 public interface TreeModelFilter extends Model { 31 32 33 39 public abstract Object getRoot (TreeModel original); 40 41 55 public abstract Object [] getChildren ( 56 TreeModel original, 57 Object parent, 58 int from, 59 int to 60 ) throws UnknownTypeException; 61 62 72 public abstract int getChildrenCount ( 73 TreeModel original, 74 Object node 75 ) throws UnknownTypeException; 76 77 86 public abstract boolean isLeaf ( 87 TreeModel original, 88 Object node 89 ) throws UnknownTypeException; 90 91 96 public abstract void addModelListener (ModelListener l); 97 98 103 public abstract void removeModelListener (ModelListener l); 104 } 105 | Popular Tags |