|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StoreChangeListener<T>
We sometimes need to monitor what is happening to a store and the items it contains
| Method Summary | |
|---|---|
void |
itemAdded(StoreProvider<T> source,
Item item)
Something has added an item to the store |
void |
itemChanged(StoreProvider<T> source,
Item item,
java.util.Collection<java.lang.String> changedAttributes)
Something has updated an item in the store |
void |
itemRemoved(StoreProvider<T> source,
java.lang.String itemId)
Something has removed an item from the store |
| Method Detail |
|---|
void itemRemoved(StoreProvider<T> source,
java.lang.String itemId)
source - The store from which it was moveditemId - The ID of the item
void itemAdded(StoreProvider<T> source,
Item item)
source - The store from which it was addeditem - The thing that has changed
void itemChanged(StoreProvider<T> source,
Item item,
java.util.Collection<java.lang.String> changedAttributes)
source - The store from which it was updateditem - The thing that has changedchangedAttributes - A list of changed attributes. If null then
you should assume that everything has changed
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||