Package org.eclipse.jdt.launching
Class PropertyChangeEvent
java.lang.Object
java.util.EventObject
org.eclipse.jdt.launching.PropertyChangeEvent
- All Implemented Interfaces:
Serializable
An event object describing a change to a named property.
JavaRuntime provides change notification for properties of VM installs
Clients may instantiate this class.
- Since:
- 2.0
- See Also:
- Restriction:
- This class is not intended to be subclassed by clients.
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionPropertyChangeEvent
(Object source, String property, Object oldValue, Object newValue) Creates a new property change event. -
Method Summary
Modifier and TypeMethodDescriptionReturns the new value of the property.Returns the old value of the property.Returns the name of the property that changed.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
PropertyChangeEvent
Creates a new property change event.- Parameters:
source
- the object whose property has changedproperty
- the property that has changed (must not benull
)oldValue
- the old value of the property, ornull
if nonenewValue
- the new value of the property, ornull
if none
-
-
Method Details
-
getProperty
Returns the name of the property that changed.- Returns:
- the name of the property that changed
-
getNewValue
Returns the new value of the property.- Returns:
- the new value, or
null
if not known or not relevant
-
getOldValue
Returns the old value of the property.- Returns:
- the old value, or
null
if not known or not relevant
-