Class PropertyChangeEvent
- java.lang.Object
-
- de.aristaflow.adept2.core.updatemanager.PropertyChangeEvent
-
public class PropertyChangeEvent extends Object
Class to store event information
-
-
Constructor Summary
Constructors Constructor Description PropertyChangeEvent(Object source, Object property)
TODO JavaDocPropertyChangeEvent(Object source, Object property, Object oldValue, Object newValue)
TODO JavaDoc
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getNewValue()
Get the new value, if availableObject
getOldValue()
Get the old value, if availableObject
getProperty()
Get the property that changedObject
getSource()
Get the Object that changedString
toString()
-
-
-
Method Detail
-
getProperty
public Object getProperty()
Get the property that changed- Returns:
- the property
- See Also:
UpdateManager.EdgeProperties
,UpdateManager.NodeProperties
-
getSource
public Object getSource()
Get the Object that changed- Returns:
- the object
-
getOldValue
public Object getOldValue()
Get the old value, if available- Returns:
- the previous value, or null
-
getNewValue
public Object getNewValue()
Get the new value, if available- Returns:
- the current value, or null
-
-