FileDocCategorySizeDatePackage
IndexedPropertyChangeEvent.javaAPI DocAndroid 1.5 API2390Wed May 06 22:41:02 BST 2009java.beans

IndexedPropertyChangeEvent

public class IndexedPropertyChangeEvent extends PropertyChangeEvent
A type of {@link PropertyChangeEvent} that indicates that an indexed property has changed.
since
Android 1.0

Fields Summary
private static final long
serialVersionUID
private final int
index
Constructors Summary
public IndexedPropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue, int index)
Creates a new property changed event with an indication of the property index.

param
source the changed bean.
param
propertyName the changed property, or null to indicate an unspecified set of the properties has changed.
param
oldValue the previous value of the property, or null if the propertyName is null or the previous value is unknown.
param
newValue the new value of the property, or null if the propertyName is null or the new value is unknown..
param
index the index of the property.


                                                                                                                                                                                                            
        
                  
        super(source, propertyName, oldValue, newValue);
        this.index = index;
    
Methods Summary
public intgetIndex()
Answer the index of the property that was changed in this event.

return
the property element index.

        return index;