public class PropertyChangeEvent<T> extends PropertyChangeEvent
source
Constructor and Description |
---|
PropertyChangeEvent(Object source,
String propertyName,
T oldValue,
T newValue)
Constructs a new
PropertyChangeEvent . |
Modifier and Type | Method and Description |
---|---|
T |
getNewValue() |
T |
getOldValue() |
getPropagationId, getPropertyName, setPropagationId, toString
getSource
public PropertyChangeEvent(Object source, String propertyName, T oldValue, T 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.public T getNewValue()
getNewValue
in class PropertyChangeEvent
public T getOldValue()
getOldValue
in class PropertyChangeEvent
Copyright © 2014 JBoss by Red Hat. All rights reserved.