|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectjava.util.EventObject
org.eclipse.core.runtime.preferences.IEclipsePreferences.PreferenceChangeEvent
An event object describing the details of a change to a preference in the preference store.
IEclipsePreferences.IPreferenceChangeListener,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
IEclipsePreferences.PreferenceChangeEvent(Object node,
String key,
Object oldValue,
Object newValue)
Constructor for a new preference change event. |
|
| Method Summary | |
|---|---|
String |
getKey()
Return the key of the preference which was changed. |
Object |
getNewValue()
Return the new value for the preference encoded as a String, or null if the
preference was removed. |
Preferences |
getNode()
Return the preference node on which the change occurred. |
Object |
getOldValue()
Return the old value for the preference encoded as a String, or null if the
preference was removed or if it cannot be determined. |
| 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 IEclipsePreferences.PreferenceChangeEvent(Object node,
String key,
Object oldValue,
Object newValue)
null. The old and new preference
values must be either a String or null.
node - the node on which the change occurredkey - the preference keyoldValue - the old preference value, as a String
or nullnewValue - the new preference value, as a String
or null| Method Detail |
public Preferences getNode()
null.
public String getKey()
null.
public Object getNewValue()
String, or null if the
preference was removed.
nullpublic Object getOldValue()
String, or null if the
preference was removed or if it cannot be determined.
null
|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.