Package com.vaadin.data.util
Class AbstractInMemoryContainer.BaseItemRemoveEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.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
AnEvent
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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description BaseItemRemoveEvent(Container source, Object itemId, int index, int count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getRemovedItemsCount()
Gets the number of the removed items.-
Methods inherited from class java.util.EventObject
getSource, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.vaadin.data.Container.Indexed.ItemRemoveEvent
getFirstIndex, getFirstItemId
-
Methods inherited from interface com.vaadin.data.Container.ItemSetChangeEvent
getContainer
-
-
-
-
Method Detail
-
getRemovedItemsCount
public int getRemovedItemsCount()
Description copied from interface:Container.Indexed.ItemRemoveEvent
Gets the number of the removed items.- Specified by:
getRemovedItemsCount
in interfaceContainer.Indexed.ItemRemoveEvent
- Returns:
- the number of removed items
-
-