We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
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
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
-
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 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.
-
-