Code example for EventListenerList

0
     * Constructs a dataset. By default, the dataset is assigned to its own 
     * group. 
     */ 
    protected AbstractDataset() { 
        this.group = new DatasetGroup();
        this.listenerList = new EventListenerList();
    } 
 
    /** 
     * Returns the dataset group for the dataset. 
     * 
     * @return The group (never <code>null</code>). 
     * 
     * @see #setGroup(DatasetGroup) 
     */ 
    public DatasetGroup getGroup() { 
        return this.group;
    } 
 
    /**