Class DataVectorSourceItems.ItemSetChangeEvent<E>
java.lang.Object
java.util.EventObject
io.jmix.mapsflowui.component.data.DataVectorSourceItems.ItemSetChangeEvent<E>
- Type Parameters:
E
- item type
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- DataVectorSourceItems<E>
An event that is fired when item set has changed.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionItemSetChangeEvent
(DataVectorSourceItems source, CollectionChangeType changeType, Collection<? extends E> changes) -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends E>
Returns changed items.Returns the type of change.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ItemSetChangeEvent
public ItemSetChangeEvent(DataVectorSourceItems source, CollectionChangeType changeType, Collection<? extends E> changes)
-
-
Method Details
-
getChangeType
Returns the type of change. -
getChanges
Returns changed items. IfgetChangeType()
isCollectionChangeType.REFRESH
, the method returns empty collection.
-