Package com.vaadin.data
Interface Container.ItemSetChangeNotifier
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractBeanContainer
,AbstractInMemoryContainer
,AbstractSelect
,BeanContainer
,BeanItemContainer
,ComboBox
,ContainerHierarchicalWrapper
,ContainerOrderedWrapper
,GeneratedPropertyContainer
,HierarchicalContainer
,HierarchicalContainerOrderedWrapper
,IndexedContainer
,ListSelect
,NativeSelect
,OptionGroup
,Select
,SQLContainer
,Table
,Tree
,TreeTable
,TwinColSelect
- Enclosing interface:
- Container
public static interface Container.ItemSetChangeNotifier extends Serializable
The interface for adding and removingItemSetChangeEvent
listeners. By implementing this interface a class explicitly announces that it will generate aItemSetChangeEvent
when its contents are modified.An item set change refers to addition, removal or reordering of items in the container. A simple property value change is not an item set change.
Note: The general Java convention is not to explicitly declare that a class generates events, but to directly define the
addListener
andremoveListener
methods. That way the caller of these methods has no real way of finding out if the class really will send the events, or if it just defines the methods to be able to implement an interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
addItemSetChangeListener(Container.ItemSetChangeListener listener)
Adds an Item set change listener for the object.void
addListener(Container.ItemSetChangeListener listener)
Deprecated.As of 7.0, replaced byaddItemSetChangeListener(ItemSetChangeListener)
void
removeItemSetChangeListener(Container.ItemSetChangeListener listener)
Removes the Item set change listener from the object.void
removeListener(Container.ItemSetChangeListener listener)
Deprecated.As of 7.0, replaced byremoveItemSetChangeListener(ItemSetChangeListener)
-
-
-
Method Detail
-
addItemSetChangeListener
void addItemSetChangeListener(Container.ItemSetChangeListener listener)
Adds an Item set change listener for the object.- Parameters:
listener
- listener to be added
-
addListener
@Deprecated void addListener(Container.ItemSetChangeListener listener)
Deprecated.As of 7.0, replaced byaddItemSetChangeListener(ItemSetChangeListener)
-
removeItemSetChangeListener
void removeItemSetChangeListener(Container.ItemSetChangeListener listener)
Removes the Item set change listener from the object.- Parameters:
listener
- listener to be removed
-
removeListener
@Deprecated void removeListener(Container.ItemSetChangeListener listener)
Deprecated.As of 7.0, replaced byremoveItemSetChangeListener(ItemSetChangeListener)
-
-