KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > util > prefs > PreferenceChangeListener


1 /*
2  * @(#)PreferenceChangeListener.java 1.4 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package java.util.prefs;
9
10 /**
11  * A listener for receiving preference change events.
12  *
13  * @author Josh Bloch
14  * @version 1.4, 12/19/03
15  * @see Preferences
16  * @see PreferenceChangeEvent
17  * @see NodeChangeListener
18  * @since 1.4
19  */

20 public interface PreferenceChangeListener extends java.util.EventListener JavaDoc {
21     /**
22      * This method gets called when a preference is added, removed or when
23      * its value is changed.
24      * <p>
25      * @param evt A PreferenceChangeEvent object describing the event source
26      * and the preference that has changed.
27      */

28     void preferenceChange(PreferenceChangeEvent JavaDoc evt);
29 }
30
Popular Tags