KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > beans > PropertyChangeListener


1 /*
2  * @(#)PropertyChangeListener.java 1.17 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.beans;
9
10 /**
11  * A "PropertyChange" event gets fired whenever a bean changes a "bound"
12  * property. You can register a PropertyChangeListener with a source
13  * bean so as to be notified of any bound property updates.
14  */

15
16 public interface PropertyChangeListener extends java.util.EventListener JavaDoc {
17
18     /**
19      * This method gets called when a bound property is changed.
20      * @param evt A PropertyChangeEvent object describing the event source
21      * and the property that has changed.
22      */

23
24     void propertyChange(PropertyChangeEvent JavaDoc evt);
25
26 }
27
Popular Tags