Interface IListChangeListener<T>


public interface IListChangeListener<T>
A IListChangeListener can be registered with a StateObject 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).
Since:
2.4
Version:
2.4
  • Method Details

    • itemsAdded

      void itemsAdded(IListChangeEvent<T> e)
      Notifies this listener new items have been added to the list.
      Parameters:
      e - The IListChangeEvent 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 - The IListChangeEvent 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 - The IListChangeEvent object containing the information of the change