Package jadex.commons.beans
Class IndexedPropertyChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- jadex.commons.beans.PropertyChangeEvent
-
- jadex.commons.beans.IndexedPropertyChangeEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class IndexedPropertyChangeEvent extends PropertyChangeEvent
A type ofPropertyChangeEvent
that indicates that an indexed property has changed.- Since:
- 1.5
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IndexedPropertyChangeEvent(java.lang.Object source, java.lang.String propertyName, java.lang.Object oldValue, java.lang.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 int
getIndex()
Answer the index of the property that was changed in this event.-
Methods inherited from class jadex.commons.beans.PropertyChangeEvent
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId, toString
-
-
-
-
Constructor Detail
-
IndexedPropertyChangeEvent
public IndexedPropertyChangeEvent(java.lang.Object source, java.lang.String propertyName, java.lang.Object oldValue, java.lang.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, ornull
to indicate an unspecified set of the properties have changed.oldValue
- the previous value of the property, ornull
if thepropertyName
isnull
or the previous value is unknown.newValue
- the new value of the property, ornull
if thepropertyName
isnull
or the new value is unknown..index
- the index of the property.
-
-