Interface IPropertyChangeEvent<T>

All Known Implementing Classes:
PropertyChangeEvent

public interface IPropertyChangeEvent<T>
This is used in conjunction with IPropertyChangeListener. It contains the information regarding the property change.
Since:
2.4
Version:
2.4
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the new value of the property that changed.
    Returns the old value of the property that changed.
    Returns the name of the property that changed.
    <S extends StateObject>
    S
    Returns the source where the modification occurred and that fired the event.
  • Method Details

    • getNewValue

      T getNewValue()
      Returns the new value of the property that changed.
      Returns:
      The property's new value
    • getOldValue

      T getOldValue()
      Returns the old value of the property that changed.
      Returns:
      The property's old value
    • getPropertyName

      String getPropertyName()
      Returns the name of the property that changed.
      Returns:
      A unique identifier of the property that changed
    • getSource

      <S extends StateObject> S getSource()
      Returns the source where the modification occurred and that fired the event.
      Returns:
      The source of the event