M
- the type of objects that populate the storepublic class ChildTreeStoreBinding<M> extends Object implements LoadHandler<M,List<M>>
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 <M>
. For children of type
TreeStore.TreeNode
see SubTreeStoreBinding
.LoadHandler.HasLoadHandlers<M,C>
Constructor and Description |
---|
ChildTreeStoreBinding(TreeStore<M> store)
|
Modifier and Type | Method and Description |
---|---|
void |
onLoad(LoadEvent<M,List<M>> event)
Called after a load operation.
|
public void onLoad(LoadEvent<M,List<M>> event)
LoadHandler
onLoad
in interface LoadHandler<M,List<M>>
event
- the event being handledCopyright © 2020. All rights reserved.