Package com.vaadin.data.util
Class AbstractInMemoryContainer.BaseItemAddEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.data.util.AbstractInMemoryContainer.BaseItemAddEvent
-
- All Implemented Interfaces:
Container.Indexed.ItemAddEvent
,Container.ItemSetChangeEvent
,Serializable
- Enclosing class:
- AbstractInMemoryContainer<ITEMIDTYPE,PROPERTYIDCLASS,ITEMCLASS extends Item>
protected static class AbstractInMemoryContainer.BaseItemAddEvent extends EventObject implements Container.Indexed.ItemAddEvent
AnEvent
object specifying information about the added items.This class provides information about the first added item and the number of added items.
- Since:
- 7.4
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description BaseItemAddEvent(Container source, Object itemId, int index, int count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAddedItemsCount()
Gets the number of the added 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.ItemAddEvent
getFirstIndex, getFirstItemId
-
Methods inherited from interface com.vaadin.data.Container.ItemSetChangeEvent
getContainer
-
-
-
-
Method Detail
-
getAddedItemsCount
public int getAddedItemsCount()
Description copied from interface:Container.Indexed.ItemAddEvent
Gets the number of the added items.- Specified by:
getAddedItemsCount
in interfaceContainer.Indexed.ItemAddEvent
- Returns:
- the number of added items.
-
-