Package org.eclipse.birt.core.preference
Class PreferenceChangeEvent
java.lang.Object
java.util.EventObject
org.eclipse.birt.core.preference.PreferenceChangeEvent
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionPreferenceChangeEvent
(IPreferences node, String key, Object oldValue, Object newValue) Constructs a newPreferenceChangeEvent
instance. -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
SPECIALTODEFAULT
- See Also:
-
-
Constructor Details
-
PreferenceChangeEvent
Constructs a newPreferenceChangeEvent
instance.- Parameters:
node
- The Preferences node that emitted the event.key
- The key of the preference that was changed.newValue
- The new value of the preference, or null if the preference is being removed.
-
-
Method Details
-
getNode
Returns the preference node that emitted the event.- Returns:
- The preference node that emitted the event.
-
getKey
Returns the key of the preference that was changed.- Returns:
- The key of the preference that was changed.
-
getNewValue
Returns the new value for the preference.- Returns:
- The new value for the preference, or null if the preference was removed.
-
getOldValue
-