public class IndexedPropertyChangeEvent extends PropertyChangeEvent
source| Constructor and Description |
|---|
IndexedPropertyChangeEvent(Object source,
String name,
Object oldValue,
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, setPropagationIdgetSource, toStringpublic IndexedPropertyChangeEvent(Object source, String name, Object oldValue, 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 changedIllegalArgumentException - if source is nullpublic int getIndex()