Package io.jmix.flowui.model
Class CollectionContainer.CollectionChangeEvent<T>
java.lang.Object
java.util.EventObject
io.jmix.flowui.model.CollectionContainer.CollectionChangeEvent<T>
- All Implemented Interfaces:
 Serializable
- Enclosing interface:
 - CollectionContainer<E>
 
Event sent on changes in the container items collection - adding, removing, replacing elements.
- See Also:
 
- 
Field Summary
Fields inherited from class java.util.EventObject
source - 
Constructor Summary
ConstructorsConstructorDescriptionCollectionChangeEvent(CollectionContainer<T> container, CollectionChangeType changeType, Collection<? extends T> changes)  - 
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends T>Returns changed items.Returns the type of change.Returns the container which sent the event.toString() 
- 
Constructor Details
- 
CollectionChangeEvent
public CollectionChangeEvent(CollectionContainer<T> container, CollectionChangeType changeType, Collection<? extends T> changes)  
 - 
 - 
Method Details
- 
getSource
Returns the container which sent the event.- Overrides:
 getSourcein classEventObject
 - 
getChangeType
Returns the type of change. - 
getChanges
Returns changed items. IfgetChangeType()isCollectionChangeType.REFRESH, the method returns empty collection. - 
toString
- Overrides:
 toStringin classEventObject
 
 -