Interface IPreviewPositionListener
-
- All Superinterfaces:
IPositionListener
- All Known Subinterfaces:
IPositionUpdater<T,P>
- All Known Implementing Classes:
PositionList
,PositionListBase
public interface IPreviewPositionListener extends IPositionListener
-
-
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 Notificationjava.lang.Object
changing(int index, java.lang.Object value)
Before set Notificationvoid
deleting(int index, int count)
before delete Notification-
Methods inherited from interface com.vladsch.flexmark.experimental.util.collection.iteration.IPositionListener
deleted, inserted
-
-
-
-
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 changedcount
- of elements deleted
-
changing
java.lang.Object changing(int index, java.lang.Object value)
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
void changed(int index, java.lang.Object oldValue, java.lang.Object newValue)
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
-
-