@Test public void testAddCellEditorListener() { CellEditorListener l = mock(CellEditorListener.class); editor.addCellEditorListener(l); assertEquals(1, editor.listenerList.getListenerCount()); editor.removeCellEditorListener(l); assertEquals(0, editor.listenerList.getListenerCount()); }
@Override public void addCellEditorListener(CellEditorListener l) { listenerList.add(CellEditorListener.class, l); }
AbstractCellEditor implements CellEditor { @Override public void addCellEditorListener(CellEditorListener l) { listenerList.add(CellEditorListener.class, l); } }
AbstractCellEditor implements CellEditor { @Override public void addCellEditorListener(CellEditorListener l) { listenerList.add(CellEditorListener.class, l); }  }
AbstractCellEditor implements CellEditor { @Override public void addCellEditorListener(CellEditorListener l) { listenerList.add(CellEditorListener.class, l); }  @Override Object getCellEditorValue(); @Override boolean isCellEditable(EventObject e); @Override boolean shouldSelectCell(EventObject anEvent); @Override boolean stopCellEditing(); @Override void addCellEditorListener(CellEditorListener l); @Override void removeCellEditorListener(CellEditorListener l); }
AbstractCellEditor implements CellEditor { @Override public void addCellEditorListener(CellEditorListener l) { listenerList.add(CellEditorListener.class, l); }  @Override Object getCellEditorValue(); @Override boolean isCellEditable(EventObject e); @Override boolean shouldSelectCell(EventObject anEvent); @Override boolean stopCellEditing(); @Override void addCellEditorListener(CellEditorListener l); @Override void removeCellEditorListener(CellEditorListener l);  }