Class NFEModelObjectPropertyChangedEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class NFEModelObjectPropertyChangedEvent
    extends NFEModelObjectEvent
    Event that contains information regarding to a changed property of a model object.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      NFEModelObjectPropertyChangedEvent​(java.lang.Object source, java.lang.Object modelObject, java.lang.String propertyName, java.lang.Object previousPropertyValue)
      Allocates a new model object property change event
    • Constructor Detail

      • NFEModelObjectPropertyChangedEvent

        public NFEModelObjectPropertyChangedEvent​(java.lang.Object source,
                                                  java.lang.Object modelObject,
                                                  java.lang.String propertyName,
                                                  java.lang.Object previousPropertyValue)
        Allocates a new model object property change event
        Parameters:
        source - where the event was fired
        modelObject - the model object related to the event
        propertyName - the name of the changed property
        previousPropertyValue - the value of the property before the change
    • Method Detail

      • getPropertyName

        public java.lang.String getPropertyName()
        Gets the name of the changed property
        Returns:
        a property name
      • getPreviousValue

        public java.lang.Object getPreviousValue()
        Gets the value of the property before it was changed
        Returns:
        the old property value