Class PropertyChangeEvent<T>

  • All Implemented Interfaces:
    java.io.Serializable

    public class PropertyChangeEvent<T>
    extends java.beans.PropertyChangeEvent
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertyChangeEvent​(java.lang.Object source, java.lang.String propertyName, T oldValue, T newValue)
      Constructs a new PropertyChangeEvent.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T getNewValue()  
      T getOldValue()  
      • Methods inherited from class java.beans.PropertyChangeEvent

        getPropagationId, getPropertyName, setPropagationId, toString
      • Methods inherited from class java.util.EventObject

        getSource
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PropertyChangeEvent

        public PropertyChangeEvent​(java.lang.Object source,
                                   java.lang.String propertyName,
                                   T oldValue,
                                   T newValue)
        Constructs a new PropertyChangeEvent.
        Parameters:
        source - The bean that fired the event.
        propertyName - The programmatic name of the property that was changed.
        oldValue - The old value of the property.
        newValue - The new value of the property.
    • Method Detail

      • getNewValue

        public T getNewValue()
        Overrides:
        getNewValue in class java.beans.PropertyChangeEvent
      • getOldValue

        public T getOldValue()
        Overrides:
        getOldValue in class java.beans.PropertyChangeEvent