com.sencha.gxt.data.shared.loader
Class LoadResultListStoreBinding<C,M,D extends ListLoadResult<M>>
java.lang.Object
com.sencha.gxt.data.shared.loader.LoadResultListStoreBinding<C,M,D>
- Type Parameters:
C - load config object typeM - model objects that populate the storeD - load result passed from the loader
- All Implemented Interfaces:
- EventHandler, LoadHandler<C,D>
public class LoadResultListStoreBinding<C,M,D extends ListLoadResult<M>>
- extends java.lang.Object
- implements LoadHandler<C,D>
Event handler for the LoadEvent fired when a Loader has
finished loading data. This handler takes a ListStore and uses the
contents of the ListLoadResult provided by the Loader to re-populate
the store.
|
Constructor Summary |
LoadResultListStoreBinding(ListStore<M> store)
Creates a load event handler that re-populates the given list store using
the list load result provided by the loader via the event. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoadResultListStoreBinding
public LoadResultListStoreBinding(ListStore<M> store)
- Creates a load event handler that re-populates the given list store using
the list load result provided by the loader via the event.
- Parameters:
store - the list store
onLoad
public void onLoad(LoadEvent<C,D> event)
- Description copied from interface:
LoadHandler
- Called after a load operation.
- Specified by:
onLoad in interface LoadHandler<C,D extends ListLoadResult<M>>
Copyright © 2012. All Rights Reserved.