Package org.eclipse.jdt.launching
Class PropertyChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.eclipse.jdt.launching.PropertyChangeEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class PropertyChangeEvent extends java.util.EventObjectAn 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:
- Serialized Form
- Restriction:
- This class is not intended to be subclassed by clients.
-
-
Constructor Summary
Constructors Constructor Description PropertyChangeEvent(java.lang.Object source, java.lang.String property, java.lang.Object oldValue, java.lang.Object newValue)Creates a new property change event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetNewValue()Returns the new value of the property.java.lang.ObjectgetOldValue()Returns the old value of the property.java.lang.StringgetProperty()Returns the name of the property that changed.
-
-
-
Constructor Detail
-
PropertyChangeEvent
public PropertyChangeEvent(java.lang.Object source, java.lang.String property, java.lang.Object oldValue, java.lang.Object newValue)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, ornullif nonenewValue- the new value of the property, ornullif none
-
-
Method Detail
-
getProperty
public java.lang.String getProperty()
Returns the name of the property that changed.- Returns:
- the name of the property that changed
-
getNewValue
public java.lang.Object getNewValue()
Returns the new value of the property.- Returns:
- the new value, or
nullif not known or not relevant
-
getOldValue
public java.lang.Object getOldValue()
Returns the old value of the property.- Returns:
- the old value, or
nullif not known or not relevant
-
-