public class PropertyChangeListenerProxy extends EventListenerProxy implements PropertyChangeListener
A class which extends the EventListenerProxy specifically
for adding a named PropertyChangeListener. Instances of
this class can be added as PropertyChangeListener to
an object.
If the object has a getPropertyChangeListeners()
method then the array returned could be a mixture of
PropertyChangeListener and
PropertyChangeListenerProxy objects.
Constructor which binds the PropertyChangeListener to a specific
property.
param
listener The listener object
param
propertyName The name of the property to listen on.
// XXX - msd NOTE: I changed the order of the arguments so that it's
// similar to PropertyChangeSupport.addPropertyChangeListener(String,
// PropertyChangeListener);
super(listener);
this.propertyName = propertyName;