PropertyChangeEvent
but contains the index 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.
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private static final long | serialVersionUID
Use serialVersionUID from JDK 1.7 for interoperability.
|
| Access | Constructor and Description |
|---|---|
| public | IndexedPropertyChangeEvent(Object
The bean that fired the event. source, String The programmatic name of the property that
was changed. propertyName, Object The old value of the property. oldValue, Object The new value of the property. newValue, int index of the property element that was changed. index)Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public int | Returns: The index specifying the property element that was changed.Gets the index of the property that was changed. |
| index | back to summary |
|---|---|
| private int index | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. Use serialVersionUID from JDK 1.7 for interoperability. | |
| IndexedPropertyChangeEvent | back to summary |
|---|---|
| public IndexedPropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue, int index) Constructs a new | |
| appendTo | back to summary |
|---|---|
| pack-priv void appendTo(StringBuilder sb) Overrides java.
| |
| getIndex | back to summary |
|---|---|
| public int getIndex() Gets the index of the property that was changed.
| |