com.vaadin.data.util
Class AbstractInMemoryContainer.BaseItemRemoveEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.vaadin.data.util.AbstractInMemoryContainer.BaseItemRemoveEvent
All Implemented Interfaces:
Container.Indexed.ItemRemoveEvent, Container.ItemSetChangeEvent, java.io.Serializable
Enclosing class:
AbstractInMemoryContainer<ITEMIDTYPE,PROPERTYIDCLASS,ITEMCLASS extends Item>

protected static class AbstractInMemoryContainer.BaseItemRemoveEvent
extends java.util.EventObject
implements Container.Indexed.ItemRemoveEvent

An Event object specifying information about the removed items.

This class provides information about the first removed item and the number of removed items.

Since:
7.4
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AbstractInMemoryContainer.BaseItemRemoveEvent(Container source, java.lang.Object itemId, int index, int count)
           
 
Method Summary
 int getRemovedItemsCount()
          Gets the number of the removed 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.ItemRemoveEvent
getFirstIndex, getFirstItemId
 
Methods inherited from interface com.vaadin.data.Container.ItemSetChangeEvent
getContainer
 

Constructor Detail

AbstractInMemoryContainer.BaseItemRemoveEvent

public AbstractInMemoryContainer.BaseItemRemoveEvent(Container source,
                                                     java.lang.Object itemId,
                                                     int index,
                                                     int count)
Method Detail

getRemovedItemsCount

public int getRemovedItemsCount()
Description copied from interface: Container.Indexed.ItemRemoveEvent
Gets the number of the removed items.

Specified by:
getRemovedItemsCount in interface Container.Indexed.ItemRemoveEvent
Returns:
the number of removed items


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