Class PreferenceChangeEvent

java.lang.Object
java.util.EventObject
org.eclipse.birt.core.preference.PreferenceChangeEvent
All Implemented Interfaces:
Serializable

public class PreferenceChangeEvent extends EventObject
See Also:
  • Field Details

  • Constructor Details

    • PreferenceChangeEvent

      public PreferenceChangeEvent(IPreferences node, String key, Object oldValue, Object newValue)
      Constructs a new PreferenceChangeEvent 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

      public Preferences getNode()
      Returns the preference node that emitted the event.
      Returns:
      The preference node that emitted the event.
    • getKey

      public String getKey()
      Returns the key of the preference that was changed.
      Returns:
      The key of the preference that was changed.
    • getNewValue

      public Object getNewValue()
      Returns the new value for the preference.
      Returns:
      The new value for the preference, or null if the preference was removed.
    • getOldValue

      public Object getOldValue()