java.util.prefs
Interface PreferenceChangeListener

All Superinterfaces:
EventListener sample code for java.util.EventListener definition code for java.util.EventListener

public interface PreferenceChangeListener
extends EventListener sample code for java.util.EventListener definition code for java.util.EventListener

A listener for receiving preference change events.

Since:
1.4
See Also:
Preferences sample code for java.util.prefs.Preferences definition code for java.util.prefs.Preferences , PreferenceChangeEvent sample code for java.util.prefs.PreferenceChangeEvent definition code for java.util.prefs.PreferenceChangeEvent , NodeChangeListener sample code for java.util.prefs.NodeChangeListener definition code for java.util.prefs.NodeChangeListener

Method Summary
 void preferenceChange sample code for java.util.prefs.PreferenceChangeListener.preferenceChange(java.util.prefs.PreferenceChangeEvent) definition code for java.util.prefs.PreferenceChangeListener.preferenceChange(java.util.prefs.PreferenceChangeEvent) (PreferenceChangeEvent sample code for java.util.prefs.PreferenceChangeEvent definition code for java.util.prefs.PreferenceChangeEvent  evt)
          This method gets called when a preference is added, removed or when its value is changed.
 

Method Detail

preferenceChange sample code for java.util.prefs.PreferenceChangeListener.preferenceChange(java.util.prefs.PreferenceChangeEvent) definition code for java.util.prefs.PreferenceChangeListener.preferenceChange(java.util.prefs.PreferenceChangeEvent)

void preferenceChange(PreferenceChangeEvent sample code for java.util.prefs.PreferenceChangeEvent definition code for java.util.prefs.PreferenceChangeEvent  evt)
This method gets called when a preference is added, removed or when its value is changed.

Parameters:
evt - A PreferenceChangeEvent object describing the event source and the preference that has changed.