Package com.vaadin.featurepack.data.util
Class AbstractInMemoryContainer.BaseItemRemoveEvent
java.lang.Object
java.util.EventObject
com.vaadin.featurepack.data.util.AbstractInMemoryContainer.BaseItemRemoveEvent
- All Implemented Interfaces:
Container.Indexed.ItemRemoveEvent,Container.ItemSetChangeEvent,Serializable
- Enclosing class:
AbstractInMemoryContainer<ITEMIDTYPE,PROPERTYIDCLASS, ITEMCLASS extends Item>
protected static class AbstractInMemoryContainer.BaseItemRemoveEvent
extends EventObject
implements Container.Indexed.ItemRemoveEvent
An
Event object specifying information about the removed
items.
This class provides information about the first removed item and the number of removed items.
- Since:
- 7.4
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintGets the number of the removed items.Methods inherited from class java.util.EventObject
getSource, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vaadin.featurepack.data.Container.Indexed.ItemRemoveEvent
getFirstIndex, getFirstItemIdMethods inherited from interface com.vaadin.featurepack.data.Container.ItemSetChangeEvent
getContainer
-
Field Details
-
itemId
-
index
protected int index -
count
protected int count
-
-
Constructor Details
-
BaseItemRemoveEvent
-
-
Method Details
-
getRemovedItemsCount
public int getRemovedItemsCount()Description copied from interface:Container.Indexed.ItemRemoveEventGets the number of the removed items.- Specified by:
getRemovedItemsCountin interfaceContainer.Indexed.ItemRemoveEvent- Returns:
- the number of removed items
-
getContainer
-
getFirstItemId
-
getFirstIndex
public int getFirstIndex() -
getAffectedItemsCount
public int getAffectedItemsCount()
-