Top Methods
com.vladsch.flexmark.experimental.util.collection.iteration

public Interface IPreviewPositionListener

extends IPositionListener
Known Direct Subinterfaces
com.vladsch.flexmark.experimental.util.collection.iteration.IPositionUpdater

Method Summary

Modifier and TypeMethod and Description
public void
changed(int
at which set is being performed, list contents and size at this point are already updated
index
,
Object
value at index before setting
oldValue
,
Object
value at index before setting
newValue
)

After set Notification

Note

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

public Object

Returns:

value to use for setting the element
changing
(int
at which set is being performed, list contents and size at this point are not updated
index
,
Object
new value for the element
value
)

Before set Notification

Note

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

public void
deleting(int
at which delete will be performed, list contents and size at this point have not changed
index
,
int
of elements deleted
count
)

before delete Notification

Inherited from com.vladsch.flexmark.experimental.util.collection.iteration.IPositionListener:
deletedinserted

Method Detail

changedback to summary
public 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:int

at which set is being performed, list contents and size at this point are already updated

oldValue:Object

value at index before setting

newValue:Object

value at index before setting

changingback to summary
public 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:int

at which set is being performed, list contents and size at this point are not updated

value:Object

new value for the element

Returns:Object

value to use for setting the element

deletingback to summary
public void deleting(int index, int count)

before delete Notification

Parameters
index:int

at which delete will be performed, list contents and size at this point have not changed

count:int

of elements deleted