Example usage for java.beans PropertyChangeSupport PropertyChangeSupport

List of usage examples for java.beans PropertyChangeSupport PropertyChangeSupport

Introduction

In this page you can find the example usage for java.beans PropertyChangeSupport PropertyChangeSupport.

Prototype

public PropertyChangeSupport(Object sourceBean) 

Source Link

Document

Constructs a PropertyChangeSupport object.

Usage

From source file:uno.informatics.data.pojo.PropertyHandler.java

private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException {
    in.defaultReadObject();/*from   w w  w  . ja v a 2 s. c  om*/
    propertyChangeSupport = new PropertyChangeSupport(this);
}

From source file:zlicense.de.schlichtherle.xml.GenericCertificate.java

public final synchronized void addPropertyChangeListener(PropertyChangeListener paramPropertyChangeListener) {
    if (this.propertyChangeSupport == null) {
        this.propertyChangeSupport = new PropertyChangeSupport(this);
    }//from  w w w.j a v a 2 s. c  o m
    this.propertyChangeSupport.addPropertyChangeListener(paramPropertyChangeListener);
}