Skip to content

Most visited

Recently visited

navigation
Added in API level 3

PropertyChangeListenerProxy

public class PropertyChangeListenerProxy
extends EventListenerProxy implements PropertyChangeListener

java.lang.Object
   ↳ java.util.EventListenerProxy
     ↳ java.beans.PropertyChangeListenerProxy


The implementation of this listener proxy just delegates the received events to its listener.

Summary

Public constructors

PropertyChangeListenerProxy(String propertyName, PropertyChangeListener listener)

Creates a new listener proxy that associates a listener with a property name.

Public methods

String getPropertyName()

Returns the name of the property associated with this listener proxy.

void propertyChange(PropertyChangeEvent event)

The source bean calls this method when an event is raised.

Inherited methods

From class java.util.EventListenerProxy
From class java.lang.Object
From interface java.beans.PropertyChangeListener

Public constructors

PropertyChangeListenerProxy

Added in API level 3
PropertyChangeListenerProxy (String propertyName, 
                PropertyChangeListener listener)

Creates a new listener proxy that associates a listener with a property name.

Parameters
propertyName String: the name of the associated property.
listener PropertyChangeListener: the listener to delegate incoming events to.

Public methods

getPropertyName

Added in API level 3
String getPropertyName ()

Returns the name of the property associated with this listener proxy.

Returns
String the name of the associated property.

propertyChange

Added in API level 3
void propertyChange (PropertyChangeEvent event)

The source bean calls this method when an event is raised.

Parameters
event PropertyChangeEvent: the PropertyChangeEvent object which contains the name and the old and new value of the property that has changed.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.