public class PropertyChangeEvent extends EventObject
JavaRuntime provides change notification for properties of VM installs
Clients may instantiate this class.
source
Constructor and Description |
---|
PropertyChangeEvent(Object source,
String property,
Object oldValue,
Object newValue)
Creates a new property change event.
|
Modifier and Type | Method and Description |
---|---|
Object |
getNewValue()
Returns the new value of the property.
|
Object |
getOldValue()
Returns the old value of the property.
|
String |
getProperty()
Returns the name of the property that changed.
|
getSource, toString
public PropertyChangeEvent(Object source, String property, Object oldValue, Object newValue)
source
- the object whose property has changedproperty
- the property that has changed (must not be
null
)oldValue
- the old value of the property, or
null
if nonenewValue
- the new value of the property, or
null
if nonepublic String getProperty()
public Object getNewValue()
null
if not known
or not relevantpublic Object getOldValue()
null
if not known
or not relevant
Copyright (c) 2000, 2016 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.