java.beans
public class: VetoableChangeListenerProxy [javadoc |
source]
java.lang.Object
java.util.EventListenerProxy<VetoableChangeListener>
java.beans.VetoableChangeListenerProxy
All Implemented Interfaces:
VetoableChangeListener, EventListener
A class which extends the {@code EventListenerProxy}
specifically for adding a {@code VetoableChangeListener}
with a "constrained" property.
Instances of this class can be added
as {@code VetoableChangeListener}s to a bean
which supports firing vetoable change events.
If the object has a {@code getVetoableChangeListeners} method
then the array returned could be a mixture of {@code VetoableChangeListener}
and {@code VetoableChangeListenerProxy} objects.
Constructor: |
public VetoableChangeListenerProxy(String propertyName,
VetoableChangeListener listener) {
super(listener);
this.propertyName = propertyName;
}
Constructor which binds the {@code VetoableChangeListener}
to a specific property. Parameters:
propertyName - the name of the property to listen on
listener - the listener object
|
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |