|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface defines callback methods used to notify that a collection was updated (that is, an object was added to it or removed from it).
| Method Summary | |
void |
onAdd(Object substance,
CollectionItem collection,
Object value,
Object added,
Object param)
Upcalled when an item is added in a collection. |
void |
onChange(Object substance,
CollectionItem collection,
Object value,
Object param)
Upcalled when the collection is changed (with a set or other methods such as clear, removeAll, addAll, ...). |
void |
onRemove(Object substance,
CollectionItem collection,
Object value,
Object removed,
Object param)
Upcalled when an item is removed from a collection. |
| Method Detail |
public void onChange(Object substance,
CollectionItem collection,
Object value,
Object param)
substance - the object of which a field was updatedcollection - the updated collectionvalue - the new collectionparam - extra dataViewControlWrapper.registerCollection(Wrappee,CollectionItem,CollectionUpdate,Object)
public void onAdd(Object substance,
CollectionItem collection,
Object value,
Object added,
Object param)
substance - the object of which a collection was updatedcollection - the updated collectionvalue - the collection's valueadded - the value added to the collectionparam - extra data (e.g. index)ViewControlWrapper.registerCollection(Wrappee,CollectionItem,CollectionUpdate,Object)
public void onRemove(Object substance,
CollectionItem collection,
Object value,
Object removed,
Object param)
substance - the object of which a collection was updatedcollection - the updated collectionvalue - the collection's valueremoved - the removed itemparam - extra data (e.g. index)ViewControlWrapper.registerCollection(Wrappee,CollectionItem,CollectionUpdate,Object)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||