public class IndexedPropertyChangeEvent extends PropertyChangeEvent
| Constructor and Description |
|---|
IndexedPropertyChangeEvent(java.lang.Object source,
java.lang.String name,
java.lang.Object oldValue,
java.lang.Object newValue,
int index)
Create a new IndexedPropertyChangeEvent.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex()
Return the index of the changed property.
|
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationIdpublic IndexedPropertyChangeEvent(java.lang.Object source, java.lang.String name, java.lang.Object oldValue, java.lang.Object newValue, int index)
source - the Bean containing the propertyname - the property's nameoldValue - the old value of the propertynewValue - the new value of the propertyindex - the index of the element in the property which changedjava.lang.IllegalArgumentException - if source is nullpublic int getIndex()