Package java.beans
Interface PropertyChangeListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
PropertyChangeListenerProxy
public interface PropertyChangeListener extends EventListener
A PropertyChangeListener can subscribe with a event source. Whenever that
source raises a PropertyChangeEvent this listener will get notified.
-
Method Summary
Modifier and Type Method Description voidpropertyChange(PropertyChangeEvent event)The source bean calls this method when an event is raised.
-
Method Details
-
propertyChange
The source bean calls this method when an event is raised.- Parameters:
event- thePropertyChangeEventobject which contains the name and the old and new value of the property that has changed.
-