List of usage examples for javax.swing.event ListDataListener intervalRemoved
void intervalRemoved(ListDataEvent e);
From source file:put.semantic.fcanew.ui.FilesListModel.java
public void clear() { if (!data.isEmpty()) { ListDataEvent e = new ListDataEvent(this, ListDataEvent.INTERVAL_REMOVED, 0, data.size() - 1); data.clear();//w ww. j a va 2 s . c om for (ListDataListener l : listeners) { l.intervalRemoved(e); } } }