Skip to content

Most visited

Recently visited

navigation
Added in API level 3

IndexedPropertyChangeEvent

public class IndexedPropertyChangeEvent
extends PropertyChangeEvent

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


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

Summary

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.

Inherited methods

From class java.beans.PropertyChangeEvent
From class java.util.EventObject
From class java.lang.Object

Public constructors

IndexedPropertyChangeEvent

Added in API level 3
IndexedPropertyChangeEvent (Object source, 
                String propertyName, 
                Object oldValue, 
                Object newValue, 
                int index)

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

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

Public methods

getIndex

Added in API level 3
int getIndex ()

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

Returns
int
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.