|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.data.shared.loader.ChildTreeStoreBinding<M>
M - the type of objects that populate the storepublic class ChildTreeStoreBinding<M>
Event handler for the 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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.sencha.gxt.data.shared.loader.LoadHandler |
|---|
LoadHandler.HasLoadHandlers<M,C> |
| Constructor Summary | |
|---|---|
ChildTreeStoreBinding(TreeStore<M> store)
Creates a LoadEvent handler for the given TreeStore. |
|
| Method Summary | |
|---|---|
void |
onLoad(LoadEvent<M,java.util.List<M>> event)
Called after a load operation. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChildTreeStoreBinding(TreeStore<M> store)
LoadEvent handler for the given TreeStore.
store - the store whose events will be handled| Method Detail |
|---|
public void onLoad(LoadEvent<M,java.util.List<M>> event)
LoadHandler
onLoad in interface LoadHandler<M,java.util.List<M>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||