Package com.vaadin.featurepack.data
Interface Container.Indexed.ItemAddEvent
- All Superinterfaces:
Container.ItemSetChangeEvent,Serializable
- All Known Implementing Classes:
AbstractInMemoryContainer.BaseItemAddEvent
- Enclosing interface:
Container.Indexed
An
Event object specifying information about the added
items.- Since:
- 7.4
-
Method Summary
Modifier and TypeMethodDescriptionintGets the number of the added items.intGets the index of the first added item.Gets the item id of the first added item.Methods inherited from interface com.vaadin.featurepack.data.Container.ItemSetChangeEvent
getContainer
-
Method Details
-
getFirstItemId
Object getFirstItemId()Gets the item id of the first added item.- Returns:
- item id of the first added item
-
getFirstIndex
int getFirstIndex()Gets the index of the first added item.- Returns:
- index of the first added item
-
getAddedItemsCount
int getAddedItemsCount()Gets the number of the added items.- Returns:
- the number of added items.
-