Code example for PropertyChangeSupport

Methods: firePropertyChange

0
     * @see #getDescription() 
     */ 
    public void setDescription(String description) {
        String old = this.description;
        this.description = description;
        this.propertyChangeSupport.firePropertyChange("Description", old,
                description);
    } 
 
    /** 
     * Returns the flag that controls whether or not change events are sent to 
     * registered listeners. 
     * 
     * @return A boolean. 
     * 
     * @see #setNotify(boolean) 
     */ 
    public boolean getNotify() { 
        return this.notify;
    }