This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


java.beans
class PropertyChangeListenerProxy

java.lang.Object extended by java.util.EventListenerProxy extended by java.beans.PropertyChangeListenerProxy
All Implemented Interfaces:
PropertyChangeListener, EventListener

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 Summary

          Constructor which binds the PropertyChangeListener to a specific property.
 
Method Summary
 String

          Returns the name of the named property associated with the listener.
 void

          Forwards the property change event to the listener delegate.
 
Methods inherited from class java.util.EventListenerProxy
getListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyChangeListenerProxy

public PropertyChangeListenerProxy(String propertyName,
                                   PropertyChangeListener listener)
Constructor which binds the PropertyChangeListener to a specific property.

Parameters:
propertyName - The name of the property to listen on.
listener - The listener object
Method Detail

getPropertyName

public String getPropertyName()
Returns the name of the named property associated with the listener.


propertyChange

public void propertyChange(PropertyChangeEvent evt)
Forwards the property change event to the listener delegate.

Parameters:
evt - the property change event


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.