Package com.vaadin.data
Interface Container.Indexed.ItemAddEvent
-
- All Superinterfaces:
Container.ItemSetChangeEvent
,Serializable
- All Known Implementing Classes:
AbstractInMemoryContainer.BaseItemAddEvent
,GeneratedPropertyContainer.GeneratedItemAddEvent
- Enclosing interface:
- Container.Indexed
public static interface Container.Indexed.ItemAddEvent extends Container.ItemSetChangeEvent
AnEvent
object specifying information about the added items.- Since:
- 7.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getAddedItemsCount()
Gets the number of the added items.int
getFirstIndex()
Gets the index of the first added item.Object
getFirstItemId()
Gets the item id of the first added item.-
Methods inherited from interface com.vaadin.data.Container.ItemSetChangeEvent
getContainer
-
-
-
-
Method Detail
-
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.
-
-