Interface IListChangeListener<T>
-
public interface IListChangeListener<T>
AIListChangeListener
can be registered with aStateObject
in 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 void
itemsAdded(IListChangeEvent<T> e)
Notifies this listener new items have been added to the list.void
itemsMoved(IListChangeEvent<T> e)
Notifies this listener the list had items moved within the list.void
itemsRemoved(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
- TheIListChangeEvent
object 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
- TheIListChangeEvent
object containing the information of the change
-
itemsRemoved
void itemsRemoved(IListChangeEvent<T> e)
Notifies this listener items have been removed from the list.- Parameters:
e
- TheIListChangeEvent
object containing the information of the change
-
-