public class IndexedPropertyChangeEvent extends PropertyChangeEvent
PropertyChangeEvent that indicates that an indexed property
has changed.| Constructor and Description |
|---|
IndexedPropertyChangeEvent(java.lang.Object source,
java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue,
int index)
Creates a new property changed event with an indication of the property
index.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex()
Answer the index of the property that was changed in this event.
|
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId, toStringpublic IndexedPropertyChangeEvent(java.lang.Object source,
java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue,
int index)
source - the changed bean.propertyName - the changed property, or null to indicate an
unspecified set of the properties have 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..index - the index of the property.