Delete the original event listener listens to add a new event in the eas

kdtEntrys.removeKDTEditListener(kdtEntrys.getListeners(KDTEditListener.class)[0]);  
kdtEntrys.addKDTEditListener(new KDTEditAdapter() {  
    public void editStopped(KDTEditEvent e) {  
        try {  
            kdtEntrys_Changed(e);  
        }  
        catch (Exception exc) {  
            handUIException(exc);  
        }  
    }  
});

Guess you like

Origin www.cnblogs.com/luojiabao/p/10964410.html