Class IndexedPropertyChangeEvent

    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • 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.
    • 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, or null to indicate an unspecified set of the properties have 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.
    • Method Detail

      • getIndex

        public int getIndex()
        Answer the index of the property that was changed in this event.
        Returns:
        The property element index.