Package com.globalmentor.beans
Interface GenericPropertyChangeListener<V>
- Type Parameters:
V
- The type of property value.
- All Superinterfaces:
EventListener
,PropertyChangeListener
- All Known Implementing Classes:
AbstractGenericPropertyChangeListener
A JavaBeans property change listener retrofitted to use generics to cast to proper value type. An implementing class must override the non-generic property
change method and call the generic version, so that the property change can be noted by either method. The abstract version of this class,
AbstractGenericPropertyChangeListener
, will be used most often.- Author:
- Garret Wilson
-
Method Summary
Modifier and TypeMethodDescriptionvoid
propertyChange
(GenericPropertyChangeEvent<V> genericPropertyChangeEvent) Called when a bound property is changed.Methods inherited from interface java.beans.PropertyChangeListener
propertyChange
-
Method Details
-
propertyChange
Called when a bound property is changed.- Parameters:
genericPropertyChangeEvent
- An event object describing the event source, the property that has changed, and its old and new values.
-