Interface IPropertyChangeEvent<T>
-
- All Known Implementing Classes:
PropertyChangeEvent
public interface IPropertyChangeEvent<T>
This is used in conjunction withIPropertyChangeListener
. It contains the information regarding the property change.- Version:
- 2.4
- Author:
- Pascal Filion
- Since:
- 2.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getNewValue()
Returns the new value of the property that changed.T
getOldValue()
Returns the old value of the property that changed.java.lang.String
getPropertyName()
Returns the name of the property that changed.<S extends StateObject>
SgetSource()
Returns the source where the modification occurred and that fired the event.
-
-
-
Method Detail
-
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
java.lang.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
-
-