KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > swing > event > SwingPropertyChangeSupport


1 /*
2  * @(#)SwingPropertyChangeSupport.java 1.20 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 javax.swing.event;
9
10 import java.beans.PropertyChangeSupport JavaDoc;
11
12 /**
13  * This subclass of java.beans.PropertyChangeSupport is identical
14  * in functionality -- it sacrifices thread-safety (not a Swing
15  * concern) for reduce memory consumption, which helps performance
16  * (both big Swing concerns). Most of the overridden methods are
17  * only necessary because all of PropertyChangeSupport's instance
18  * data is private, without accessor methods.
19  *
20  * @version 1.20 12/19/03
21  * @author unattributed
22  */

23
24 public final class SwingPropertyChangeSupport extends PropertyChangeSupport JavaDoc {
25
26     /**
27      * Constructs a SwingPropertyChangeSupport object.
28      *
29      * @param sourceBean The bean to be given as the source for any events.
30      */

31     public SwingPropertyChangeSupport(Object JavaDoc sourceBean) {
32         super(sourceBean);
33     }
34
35     // Serialization version ID
36
static final long serialVersionUID = 7162625831330845068L;
37 }
38
Popular Tags