Interface IListChangeListener<T>
-
public interface IListChangeListener<T>AIListChangeListenercan be registered with aStateObjectin order to be notified when a list changes (items are added or removed from it or some items have been moved inside of that list).- Version:
- 2.4
- Author:
- Pascal Filion
- Since:
- 2.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiditemsAdded(IListChangeEvent<T> e)Notifies this listener new items have been added to the list.voiditemsMoved(IListChangeEvent<T> e)Notifies this listener the list had items moved within the list.voiditemsRemoved(IListChangeEvent<T> e)Notifies this listener items have been removed from the list.
-
-
-
Method Detail
-
itemsAdded
void itemsAdded(IListChangeEvent<T> e)
Notifies this listener new items have been added to the list.- Parameters:
e- TheIListChangeEventobject containing the information of the change
-
itemsMoved
void itemsMoved(IListChangeEvent<T> e)
Notifies this listener the list had items moved within the list.- Parameters:
e- TheIListChangeEventobject containing the information of the change
-
itemsRemoved
void itemsRemoved(IListChangeEvent<T> e)
Notifies this listener items have been removed from the list.- Parameters:
e- TheIListChangeEventobject containing the information of the change
-
-