FileDocCategorySizeDatePackage
PropertyChangeListenerProxy.javaAPI DocAndroid 1.5 API2028Wed May 06 22:41:02 BST 2009java.beans

PropertyChangeListenerProxy

public class PropertyChangeListenerProxy extends EventListenerProxy implements PropertyChangeListener
The implementation of this listener proxy just delegates the received events to its listener.
since
Android 1.0

Fields Summary
String
propertyName
Constructors Summary
public PropertyChangeListenerProxy(String propertyName, PropertyChangeListener listener)
Creates a new listener proxy that associates a listener with a property name.

param
propertyName the name of the associated property.
param
listener the listener to delegate incoming events to.

        super(listener);
        this.propertyName = propertyName;
    
Methods Summary
public java.lang.StringgetPropertyName()
Returns the name of the property associated with this listener proxy.

return
the name of the associated property.

        return propertyName;
    
public voidpropertyChange(java.beans.PropertyChangeEvent event)

        PropertyChangeListener listener = (PropertyChangeListener) getListener();
        listener.propertyChange(event);