|
JavaScript Development Tools Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.eclipse.wst.jsdt.launching.PropertyChangeEvent
public class PropertyChangeEvent
An event object describing a change to a named property.
JavaRuntime provides change notification for properties of VM installs
Clients may instantiate this class; not intended to be subclassed.
Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
PropertyChangeEvent(Object source,
String property,
Object oldValue,
Object newValue)
Creates a new property change event. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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 noneMethod Detail |
---|
public String getProperty()
public Object getNewValue()
null
if not known
or not relevantpublic Object getOldValue()
null
if not known
or not relevant
|
JavaScript Development Tools Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |