M - the type of objects that populate the storeT - the type of TreeNode for the storepublic class SubTreeStoreBinding<M,T extends TreeStore.TreeNode<M>> extends Object implements LoadHandler<M,List<T>>
LoadEvent fired when a Loader has
finished loading data. It expects LoadEvent.getLoadConfig() to return a
parent and LoadEvent.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 TreeStore.TreeNode. For children of
type <M> see ChildTreeStoreBinding.LoadHandler.HasLoadHandlers<M,C>| Constructor and Description |
|---|
SubTreeStoreBinding(TreeStore<M> store)
|
public void onLoad(LoadEvent<M,List<T>> event)
LoadHandleronLoad in interface LoadHandler<M,List<T extends TreeStore.TreeNode<M>>>Copyright © 2012. All Rights Reserved.