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:
09: package com.gwtext.client.widgets.tree.event;
10:
11: import com.gwtext.client.widgets.tree.AsyncTreeNode;
12:
13: public interface AsyncTreeNodeListener {
14:
15: /**
16: * Fires before this node is loaded, return false to cancel.
17: *
18: * @param node the node
19: * @return false to cancel
20: */
21: boolean doBeforeLoad(AsyncTreeNode node);
22:
23: /**
24: * Fires when this node is loaded.
25: *
26: * @param node the node
27: */
28: void onLoad(AsyncTreeNode node);
29:
30: }
|