IPropertyChangeEvent where the generics is the type of the
old and new values.
| Modifier and Type | Field and Description |
|---|---|
| private T | newValue
The new value of the property that changed. |
| private T | oldValue
The old value of the property that changed. |
| private String | propertyName
The name of the property associated with the property change. |
| private StateObject | source
The source where the modification occurred and that fired the event. |
| Access | Constructor and Description |
|---|---|
| public | PropertyChangeEvent(StateObject
The source where the modification occurred and that fired the event source, String The name of the property associated with the property change propertyName, T The old value of the property that changed oldValue, T The new value of the property that changed newValue)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| public T | getNewValue()
Implements org. |
| public T | getOldValue()
Implements org. |
| public String | getPropertyName()
Implements org. |
| public <S extends StateObject> S | getSource()
Implements org. |
| newValue | back to summary |
|---|---|
| private T newValue The new value of the property that changed. | |
| oldValue | back to summary |
|---|---|
| private T oldValue The old value of the property that changed. | |
| propertyName | back to summary |
|---|---|
| private String propertyName The name of the property associated with the property change. | |
| source | back to summary |
|---|---|
| private StateObject source The source where the modification occurred and that fired the event. | |
| PropertyChangeEvent | back to summary |
|---|---|
| public PropertyChangeEvent(StateObject source, String propertyName, T oldValue, T newValue) Creates a new
| |
| getNewValue | back to summary |
|---|---|
| public T getNewValue() Implements org. Doc from org. Returns the new value of the property that changed.
| |
| getOldValue | back to summary |
|---|---|
| public T getOldValue() Implements org. Doc from org. Returns the old value of the property that changed.
| |
| getPropertyName | back to summary |
|---|---|
| public String getPropertyName() Implements org. Doc from org. Returns the name of the property that changed. | |
| getSource | back to summary |
|---|---|
| public <S extends StateObject> S getSource() Implements org. Doc from org. Returns the source where the modification occurred and that fired the event.
| |