01: /*
02: * GWT-Ext Widget Library
03: * Copyright(c) 2007-2008, GWT-Ext.
04: * licensing@gwt-ext.com
05: *
06: * http://www.gwt-ext.com/license
07: */
08: package com.gwtext.client.widgets.tree;
09:
10: /**
11: * Tree traversal callback interface.
12: *
13: * @see TreeFilter#filterBy(TreeTraversalCallback)
14: */
15: public interface TreeTraversalCallback {
16:
17: /**
18: * Return true when criteria is met.
19: *
20: * @param node the node being traversed
21: * @return true if criteria is met
22: */
23: boolean execute(TreeNode node);
24: }
|