Package java.beans
Class IndexedPropertyChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- java.beans.PropertyChangeEvent
-
- java.beans.IndexedPropertyChangeEvent
-
- All Implemented Interfaces:
Serializable
public class IndexedPropertyChangeEvent extends PropertyChangeEvent
A type ofPropertyChangeEventthat indicates that an indexed property has changed.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description IndexedPropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue, int index)Creates a new property changed event with an indication of the property index.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIndex()Returns the index of the property that was changed in this event.-
Methods inherited from class java.beans.PropertyChangeEvent
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
IndexedPropertyChangeEvent
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.- Parameters:
source- the changed bean.propertyName- the changed property, ornullto indicate an unspecified set of the properties has changed.oldValue- the previous value of the property, ornullif thepropertyNameisnullor the previous value is unknown.newValue- the new value of the property, ornullif thepropertyNameisnullor the new value is unknown..index- the index of the property.
-
-