public interface IConcurrentModelListener
Interface for objects that can listen to changes in an IConcurrentModel. Elements in an IConcurrentModel are unordered.
Method SummaryModifier and TypeMethodDescription
voidCalled when elements are added to the model
voidCalled when elements are removed from the model
voidNotifies the receiver about the complete set of elements in the model.
voidCalled when elements in the model have changed
(Object added)Called when elements are added to the model
added- elements added to the model
(Object removed)Called when elements are removed from the model
removed- elements removed from the model
(Object changed)Called when elements in the model have changed
changed- elements that have changed
(Object newContents)Notifies the receiver about the complete set of elements in the model. Most models will not call this method unless the listener explicitly requests it by calling
newContents- contents of the model