Interface IPreviewPositionListener
- All Superinterfaces:
IPositionListener
- All Known Subinterfaces:
IPositionUpdater<T,
P>
- All Known Implementing Classes:
PositionList
,PositionListBase
-
Method Summary
Methods inherited from interface com.vladsch.flexmark.experimental.util.collection.iteration.IPositionListener
deleted, inserted
-
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 changedcount
- of elements deleted
-
changing
Before set NotificationNOTE: 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 updatedvalue
- new value for the element- Returns:
- value to use for setting the element
-
changed
After set NotificationNOTE: 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 updatedoldValue
- value at index before settingnewValue
- value at index before setting
-