A class which extends the EventListenerProxy
specifically for adding a PropertyChangeListener
with a "bound" property.
An abstract wrapper class for an EventListener class
which associates a set of additional parameters with the listener.
Subclasses must provide the storage and accessor methods
for the additional arguments or parameters.
For example, a bean which supports named properties
would have a two argument method signature for adding
a PropertyChangeListener for a property:
public void addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
If the bean also implemented the zero argument get listener method:
public PropertyChangeListener[] getPropertyChangeListeners()
then the array may contain inner PropertyChangeListeners
which are also PropertyChangeListenerProxy objects.
If the calling method is interested in retrieving the named property
then it would have to test the element to see if it is a proxy class.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[],["`EventListenerProxy` is an abstract class that wraps an `EventListener`, associating it with additional parameters. Subclasses store and access these parameters. It includes a constructor to create a proxy for a listener and a `getListener()` method to retrieve the associated listener. `PropertyChangeListenerProxy` is a subclass. The class manages listeners for named properties and allows testing if an element is a proxy. Methods inherited from the Object class, such as `equals`, `getClass`, and `wait` can also be used.\n"]]