public class KeyedPropertyChangeEvent extends PropertyChangeEvent
An KeyedPropertyChangeEvent gets delivered whenever a component that conforms
to the JavaBeansPropertyChangeEvent but contains
the key of the property that has changed.
Null values may be provided for the old and the new values if their true values are not known.
An event source may send a null object as the name to indicate that an arbitrary set of if its properties have changed. In this case the old and new values should also be null.
source| Constructor and Description |
|---|
KeyedPropertyChangeEvent(Object source,
String propertyName,
Object oldValue,
Object newValue,
Object key)
Construct a new KeyedPropertyChangeEvent.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getKey()
Get the key.
|
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId, toStringgetSourcepublic KeyedPropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue, Object key)
source - The source object.propertyName - The property name.oldValue - The old value.newValue - The new value.key - The key.public Object getKey()
Copyright © 2015 Revolution Systems Inc.. All rights reserved.