Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

IndexedPropertyChangeEvent

extends PropertyChangeEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ java.beans.PropertyChangeEvent
       ↳ java.beans.IndexedPropertyChangeEvent

Class Overview

A type of PropertyChangeEvent that indicates that an indexed property has changed.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
IndexedPropertyChangeEvent ( Object source, String propertyName, Object oldValue, Object newValue, int index)
Creates a new property changed event with an indication of the property index.
Public Methods
int getIndex ()
Returns the index of the property that was changed in this event.
[Expand]
Inherited Methods
From class java.beans.PropertyChangeEvent
From class java.util.EventObject
From class java.lang.Object

Public Constructors

public IndexedPropertyChangeEvent ( Object source, String propertyName, Object oldValue, Object newValue, int index)

Added in API level 3

Creates a new property changed event with an indication of the property index.

Parameters
source the changed bean.
propertyName the changed property, or null to indicate an unspecified set of the properties has 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.

Public Methods

public int getIndex ()

Added in API level 3

Returns the index of the property that was changed in this event.