public static class VectorLayerItems.ItemSetChangeEvent<E>
extends java.util.EventObject
Constructor and Description |
---|
ItemSetChangeEvent(VectorLayerItems source,
io.jmix.ui.model.CollectionChangeType changeType,
java.util.Collection<? extends E> changes) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends E> |
getChanges()
Returns changed items.
|
io.jmix.ui.model.CollectionChangeType |
getChangeType()
Returns the type of change.
|
public ItemSetChangeEvent(VectorLayerItems source, io.jmix.ui.model.CollectionChangeType changeType, java.util.Collection<? extends E> changes)
public io.jmix.ui.model.CollectionChangeType getChangeType()
public java.util.Collection<? extends E> getChanges()
getChangeType()
is CollectionChangeType.REFRESH
, the method
returns empty collection.