June 1997
Intermediate to advanced
318 pages
8h 17m
English
Class java.beans.PropertyChangeEvent
Whenever the value of a Bean’s bound or constrained property is
changed, a property change event is fired to all of the registered
event listeners. The
PropertyChangeEvent
contains information about the change,
and is passed as an argument to the event notification methods of the
PropertyChangeListener and
VetoableChangeListener interfaces.
public class PropertyChangeEvent extends java.util.EventObject
{
// constructors
public PropertyChangeEvent(Object source, String propertyName,
Object oldValue, Object newValue);
// methods
public Object getNewValue();
public Object getOldValue();
public Object getPropagationId();
public String getPropertyName();
public void setPropagationId(Object propagationId);
}
PropertyChangeListener,
VetoableChangeListener
Read now
Unlock full access