Package com.vaadin.featurepack.data.util
Class AbstractInMemoryContainer.BaseItemAddEvent
java.lang.Object
java.util.EventObject
com.vaadin.featurepack.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
An
Event 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:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the number of the added items.intintMethods 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.ItemAddEvent
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
-
BaseItemAddEvent
-
-
Method Details
-
getAddedItemsCount
public int getAddedItemsCount()Description copied from interface:Container.Indexed.ItemAddEventGets the number of the added items.- Specified by:
getAddedItemsCountin interfaceContainer.Indexed.ItemAddEvent- Returns:
- the number of added items.
-
getContainer
-
getFirstItemId
-
getFirstIndex
public int getFirstIndex() -
getAffectedItemsCount
public int getAffectedItemsCount()
-