Revision 2285 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.swing/org.gvsig.tools.swing.api/src/main/java/org/gvsig/tools/swing/api/FilteredTreeModel.java
FilteredTreeModel.java | ||
---|---|---|
6 | 6 |
* |
7 | 7 |
* @author jjdelcerro |
8 | 8 |
*/ |
9 |
public interface FilteredTreeModel extends TreeModel { |
|
9 |
public interface FilteredTreeModel extends TreeModel, FilteredModel {
|
|
10 | 10 |
|
11 |
public interface TreeModelFilter { |
|
12 |
public boolean test(TreeModel model, Object node); |
|
13 |
} |
|
14 |
|
|
15 | 11 |
public TreeModel getTreeModel(); |
16 |
public void setFilter(TreeModelFilter filter); |
|
17 | 12 |
|
18 | 13 |
|
19 | 14 |
} |
Also available in: Unified diff