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 VetoableChangeListenerProxy
- All Implemented Interfaces:
- VetoableChangeListener, EventListener
public class VetoableChangeListenerProxy
extends EventListenerProxy
implements VetoableChangeListener
A class which extends the EventListenerProxy
specifically
for associating a VetoableChangeListener
with a "constrained"
property. Instances of this class can be added as a
VetoableChangeListener
to a bean which supports firing
VetoableChange events.
If the object has a getVetoableChangeListeners()
method then the array returned could be a mixture of
VetoableChangeListener
and
VetoableChangeListenerProxy
objects.
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.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VetoableChangeListenerProxy
public VetoableChangeListenerProxy(String propertyName,
VetoableChangeListener listener)
-
- Parameters:
propertyName
- The name of the property to listen on.
listener
- The listener object
getPropertyName
public String getPropertyName()
-
Returns the name of the named property associated with the
listener.
vetoableChange
public void vetoableChange(PropertyChangeEvent evt)
throws PropertyVetoException
-
Forwards the property change event to the listener delegate.
- Parameters:
evt
- the property change event
- Throws:
PropertyVetoException
- if the recipient wishes the property
change to be rolled back.
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:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.