public class PropertyChangeEvent extends EventObject
source| Constructor and Description |
|---|
PropertyChangeEvent(Object source,
String propertyName,
Object oldValue,
Object newValue)
The constructor used to create a new
PropertyChangeEvent. |
| Modifier and Type | Method and Description |
|---|---|
Object |
getNewValue()
Returns the new value that the property now has.
|
Object |
getOldValue()
Returns the old value that the property had.
|
Object |
getPropagationId()
Returns the propagationId object.
|
String |
getPropertyName()
Returns the name of the property that has changed.
|
void |
setPropagationId(Object propagationId)
Sets the propagationId object.
|
getSource, toStringpublic PropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue)
PropertyChangeEvent.source - the changed bean.propertyName - the changed property, or null to indicate an
unspecified set of the properties has changed.oldValue - the previous value of the property, or null if
the propertyName is null or the
previous value is unknown.newValue - the new value of the property, or null if the
propertyName is null or the new
value is unknown.public String getPropertyName()
public void setPropagationId(Object propagationId)
getPropagationId()public Object getPropagationId()
public Object getOldValue()
public Object getNewValue()