Interface Container.PropertySetChangeNotifier
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractBeanContainer
,AbstractSelect
,BeanContainer
,BeanItemContainer
,ComboBox
,ContainerHierarchicalWrapper
,ContainerOrderedWrapper
,GeneratedPropertyContainer
,HierarchicalContainer
,HierarchicalContainerOrderedWrapper
,IndexedContainer
,ListSelect
,NativeSelect
,OptionGroup
,Select
,Table
,Tree
,TreeTable
,TwinColSelect
- Enclosing interface:
- Container
public static interface Container.PropertySetChangeNotifier extends Serializable
The interface for adding and removing
PropertySetChangeEvent
listeners. By implementing this interface a class explicitly announces that it will generate aPropertySetChangeEvent
when the set of property IDs supported by the container is modified.A property set change means the addition, removal or other structural changes to the properties of a container. Changes concerning the set of items in the container and their property values are not property set changes.
Note that 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
addListener(Container.PropertySetChangeListener listener)
Deprecated.As of 7.0, replaced byaddPropertySetChangeListener(PropertySetChangeListener)
void
addPropertySetChangeListener(Container.PropertySetChangeListener listener)
Registers a new Property set change listener for this Container.void
removeListener(Container.PropertySetChangeListener listener)
Deprecated.As of 7.0, replaced byremovePropertySetChangeListener(PropertySetChangeListener)
void
removePropertySetChangeListener(Container.PropertySetChangeListener listener)
Removes a previously registered Property set change listener.
-
-
-
Method Detail
-
addPropertySetChangeListener
void addPropertySetChangeListener(Container.PropertySetChangeListener listener)
Registers a new Property set change listener for this Container.- Parameters:
listener
- The new Listener to be registered
-
addListener
@Deprecated void addListener(Container.PropertySetChangeListener listener)
Deprecated.As of 7.0, replaced byaddPropertySetChangeListener(PropertySetChangeListener)
-
removePropertySetChangeListener
void removePropertySetChangeListener(Container.PropertySetChangeListener listener)
Removes a previously registered Property set change listener.- Parameters:
listener
- Listener to be removed
-
removeListener
@Deprecated void removeListener(Container.PropertySetChangeListener listener)
Deprecated.As of 7.0, replaced byremovePropertySetChangeListener(PropertySetChangeListener)
-
-