|
Préférences
Moteurs de recherche
|
||||||||||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.4.2
java.beans
|
Field Summary |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
PropertyChangeEvent(Object source,
String propertyName,
Object oldValue,
Object newValue)
Constructs a new PropertyChangeEvent . |
Method Summary | |
Object |
getNewValue()
Sets the new value for the property, expressed as an Object. |
Object |
getOldValue()
Gets the old value for the property, expressed as an Object. |
Object |
getPropagationId()
The "propagationId" field is reserved for future use. |
String |
getPropertyName()
Gets the programmatic name of the property that was changed. |
void |
setPropagationId(Object propagationId)
Sets the propagationId object for the event. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue)
PropertyChangeEvent
.
source
- The bean that fired the event.propertyName
- The programmatic name of the property
that was changed.oldValue
- The old value of the property.newValue
- The new value of the property.Method Detail |
public String getPropertyName()
public Object getNewValue()
public Object getOldValue()
public void setPropagationId(Object propagationId)
propagationId
- The propagationId object for the event.public Object getPropagationId()