/** * Called after notification from ListModel. * @param e the change event from the listModel. */ public void modelChanged(ListDataEvent e) { ModelChange change = new ModelChange(e); prepareForChange(change); notifySorter(change); if (change.type != ListDataEvent.CONTENTS_CHANGED) { // If the Sorter is unsorted we will not have received // notification, force treating insert/delete as a change. sorterChanged = true; } processChange(change); }
/** * Called after notification from ListModel. * @param e the change event from the listModel. */ public void modelChanged(ListDataEvent e) { ModelChange change = new ModelChange(e); prepareForChange(change); notifySorter(change); if (change.type != ListDataEvent.CONTENTS_CHANGED) { // If the Sorter is unsorted we will not have received // notification, force treating insert/delete as a change. sorterChanged = true; } processChange(change); }
/** * Called after notification from ListModel. * @param e the change event from the listModel. */ public void modelChanged(ListDataEvent e) { ModelChange change = new ModelChange(e); prepareForChange(change); notifySorter(change); if (change.type != ListDataEvent.CONTENTS_CHANGED) { // If the Sorter is unsorted we will not have received // notification, force treating insert/delete as a change. sorterChanged = true; } processChange(change); }
/** * Called after notification from ListModel. * @param e the change event from the listModel. */ public void modelChanged(ListDataEvent e) { ModelChange change = new ModelChange(e); prepareForChange(change); notifySorter(change); if (change.type != ListDataEvent.CONTENTS_CHANGED) { // If the Sorter is unsorted we will not have received // notification, force treating insert/delete as a change. sorterChanged = true; } processChange(change); }