Code example for EventListenerList

0
public abstract class ColumnDataModel<T> { 
     
    /** 
     * Maintains the list of listeners 
     */ 
    protected EventListenerList _listenerList = new EventListenerList();
     
    private String name = null;
    private Class<?> clazz = Object.class;
     
    /** 
     * Creates a new ColumnDataModel 
     */ 
    protected ColumnDataModel(String name, Class<?> clazz) {
    	this.name = name;
    	this.clazz = clazz;
    } 
    /** 
     * Used by the "composing" table model to determine what the class of the 
     * column objects is.