Code example for PropertyChangeSupport

Methods: firePropertyChange

0
            throw new IllegalArgumentException("Null 'key' argument.");
        } 
        Comparable old = this.key;
        this.key = key;
//        this.listeners = new EventListenerList(); 
        this.propertyChangeSupport.firePropertyChange("Key", old, key);
        this.notify = true;
    } 
 
    /** 
     * Returns a description of the series. 
     * 
     * @return The series description (possibly <code>null</code>). 
     * 
     * @see #setDescription(String) 
     */ 
    public String getDescription() {
        return this.description;
    } 
 
    /**