public void fireElementsAdded(Collection<V> elements) { try { for (CollectionListener l : listeners) { l.added(collection, elements); } } catch (Exception ex) { Logger.getLogger(CollectionEditingSupport.class.getName()).log(Level.SEVERE, "While firering an event \"fireElementsAdded\"", ex); } }
public void fireCleared() { try { for (CollectionListener l : listeners) { l.cleared(collection); } } catch (Exception ex) { Logger.getLogger(CollectionEditingSupport.class.getName()).log(Level.SEVERE, "While firering an event \"fireCleared\"", ex); } }
public void fireElementsRemoved(Collection<V> elements) { try { for (CollectionListener l : listeners) { l.removed(collection, elements); } } catch (Exception ex) { Logger.getLogger(CollectionEditingSupport.class.getName()).log(Level.SEVERE, "While firering an event \"fireElementsRemoved\"", ex); } }
public void fireReodered() { try { for (CollectionListener l : listeners) { l.reodered(collection); } } catch (Exception ex) { Logger.getLogger(CollectionEditingSupport.class.getName()).log(Level.SEVERE, "While firering an event \"fireReodered\"", ex); } } }
public void fireElementAdded(V element) { try { for (CollectionListener l : listeners) { l.added(collection, element); } } catch (Exception ex) { Logger.getLogger(CollectionEditingSupport.class.getName()).log(Level.SEVERE, "While firering an event \"fireElementAdded\"", ex); } }
public void fireElementRemoved(V element) { try { for (CollectionListener l : listeners) { l.removed(collection, element); } } catch (Exception ex) { Logger.getLogger(CollectionEditingSupport.class.getName()).log(Level.SEVERE, "While firering an event \"fireElementRemoved\"", ex); } }