com.vaadin.data
Interface Container.Indexed.ItemAddEvent

All Superinterfaces:
Container.ItemSetChangeEvent, java.io.Serializable
All Known Implementing Classes:
AbstractInMemoryContainer.BaseItemAddEvent
Enclosing interface:
Container.Indexed

public static interface Container.Indexed.ItemAddEvent
extends Container.ItemSetChangeEvent

An Event object specifying information about the added items.


Method Summary
 int getAddedItemsCount()
          Gets the number of the added items.
 int getFirstIndex()
          Gets the index of the first added item.
 java.lang.Object getFirstItemId()
          Gets the item id of the first added item.
 
Methods inherited from interface com.vaadin.data.Container.ItemSetChangeEvent
getContainer
 

Method Detail

getFirstItemId

java.lang.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.


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.