com.vaadin.data.util
Class IndexedContainer.ItemSetChangeEvent
java.lang.Object
java.util.EventObject
com.vaadin.data.util.IndexedContainer.ItemSetChangeEvent
- All Implemented Interfaces:
- Container.ItemSetChangeEvent, Serializable
- Enclosing class:
- IndexedContainer
public class IndexedContainer.ItemSetChangeEvent
- extends EventObject
- implements Container.ItemSetChangeEvent, Serializable
An event
object specifying the list whose Item set has
changed.
- Since:
- 3.0
- Version:
- 6.3.3
- Author:
- IT Mill Ltd.
- See Also:
- Serialized Form
getContainer
public Container getContainer()
- Description copied from interface:
Container.ItemSetChangeEvent
- Gets the Property where the event occurred.
- Specified by:
getContainer
in interface Container.ItemSetChangeEvent
- Returns:
- source of the event
getAddedItemIndex
public int getAddedItemIndex()
- Iff one item is added, gives its index.
- Returns:
- -1 if either multiple items are changed or some other change
than add is done.
Copyright © 2000-2010 IT Mill Ltd. All Rights Reserved.