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)
|
Modifier and Type | Method and Description |
---|---|
void |
onLoad(LoadEvent<M,List<T>> event)
Called after a load operation.
|
public void onLoad(LoadEvent<M,List<T>> event)
LoadHandler
onLoad
in interface LoadHandler<M,List<T extends TreeStore.TreeNode<M>>>
event
- the event being handledCopyright © 2018. All rights reserved.