Interface IPreviewPositionListener

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void changed​(int index, java.lang.Object oldValue, java.lang.Object newValue)
      After set Notification
      java.lang.Object changing​(int index, java.lang.Object value)
      Before set Notification
      void deleting​(int index, int count)
      before delete Notification
    • Method Detail

      • 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

        java.lang.Object changing​(int index,
                                  java.lang.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,
                     java.lang.Object oldValue,
                     java.lang.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