Class ChildTreeStoreBinding<M>
- java.lang.Object
-
- com.sencha.gxt.data.shared.loader.ChildTreeStoreBinding<M>
-
- Type Parameters:
M- the type of objects that populate the store
- All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler,LoadHandler<M,List<M>>
public class ChildTreeStoreBinding<M> extends Object implements LoadHandler<M,List<M>>
Event handler for theLoadEventfired when aLoaderhas finished loading data. It expectsLoadEvent.getLoadConfig()to return a parent andLoadEvent.getLoadResult()to return a list of new children. It replaces the children of the given parent with the list of new children. The children are expected to be of type<M>. For children of typeTreeStore.TreeNodeseeSubTreeStoreBinding.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.sencha.gxt.data.shared.loader.LoadHandler
LoadHandler.HasLoadHandlers<M,C>
-
-
Constructor Summary
Constructors Constructor Description ChildTreeStoreBinding(TreeStore<M> store)
-
-
-
Method Detail
-
onLoad
public void onLoad(LoadEvent<M,List<M>> event)
Description copied from interface:LoadHandlerCalled after a load operation.- Specified by:
onLoadin interfaceLoadHandler<M,List<M>>- Parameters:
event- the event being handled
-
-