Interface IPreviewPositionListener

All Superinterfaces:
IPositionListener
All Known Subinterfaces:
IPositionUpdater<T,P>
All Known Implementing Classes:
PositionList, PositionListBase

public interface IPreviewPositionListener extends IPositionListener
  • Method Details

    • deleting

      void deleting(int index, int count)
      before delete Notification
      Parameters:
      index - at which delete will be performed, list contents and size at this point have not changed
      count - of elements deleted
    • changing

      Object changing(int index, Object value)
      Before set Notification

      NOTE: the returned class should be the same or a subclass of original object's class

      Parameters:
      index - at which set is being performed, list contents and size at this point are not updated
      value - new value for the element
      Returns:
      value to use for setting the element
    • changed

      void changed(int index, Object oldValue, Object newValue)
      After set Notification

      NOTE: the returned class should be the same or a subclass of original object's class

      Parameters:
      index - at which set is being performed, list contents and size at this point are already updated
      oldValue - value at index before setting
      newValue - value at index before setting