|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gwtext.client.data.event.StoreListenerAdapter
public class StoreListenerAdapter
Store listener adapter.
| Constructor Summary | |
|---|---|
StoreListenerAdapter()
|
|
| Method Summary | |
|---|---|
boolean |
doBeforeLoad(Store store)
Fires before a request is made for a new data object. |
void |
onAdd(Store store,
Record[] records,
int index)
Fires when Records have been added to the Store |
void |
onClear(Store store)
Fires when the data cache has been cleared. |
void |
onDataChanged(Store store)
Fires when the data cache has changed, and a widget which is using this Store as a Record cache should refresh its view. |
void |
onLoad(Store store,
Record[] records)
Fires after a new set of Records has been loaded. |
void |
onLoadException(java.lang.Throwable error)
Fires if an exception occurs in the Proxy during loading. |
void |
onRemove(Store store,
Record record,
int index)
Fires when a Record has been removed from the Store. |
void |
onUpdate(Store store,
Record record,
Record.Operation operation)
Fires when a Record has been updated. |
void |
onUpdate(Store store,
Record record,
java.lang.String operation)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StoreListenerAdapter()
| Method Detail |
|---|
public void onAdd(Store store,
Record[] records,
int index)
StoreListener
onAdd in interface StoreListenerstore - thisrecords - the records addedindex - the index at which the record(s) were addedpublic boolean doBeforeLoad(Store store)
StoreListener
doBeforeLoad in interface StoreListenerstore - this
public void onClear(Store store)
StoreListener
onClear in interface StoreListenerstore - thispublic void onDataChanged(Store store)
StoreListener
onDataChanged in interface StoreListenerstore - this
public void onLoad(Store store,
Record[] records)
StoreListener
onLoad in interface StoreListenerstore - thisrecords - the Records that were loaded
public void onRemove(Store store,
Record record,
int index)
StoreListener
onRemove in interface StoreListenerstore - thisrecord - the Record that was removedindex - the index at which the record was removed
public void onUpdate(Store store,
Record record,
Record.Operation operation)
StoreListener
onUpdate in interface StoreListenerstore - thisrecord - the Record that was updatedoperation - the update operation being performedRecord.EDIT,
Record.REJECT,
Record.COMMIT
public final void onUpdate(Store store,
Record record,
java.lang.String operation)
public void onLoadException(java.lang.Throwable error)
StoreListenerHttpStoreLoadException is raised if an exception occurs.
onLoadException in interface StoreListenererror - the error
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||