/** * Change the selection to be the set union of the current selection and the indices between index0 and index1 inclusive */ public void addSelectionInterval(int index0, int index1) { delegateSelectionModel.addSelectionInterval(index0, index1); }
/** * Change the selection to be the set union of the current selection and the indices between index0 and index1 inclusive */ @Override public void addSelectionInterval(int index0, int index1) { delegateSelectionModel.addSelectionInterval(index0, index1); }
/** * Change the selection to be the set union of the current selection and the indices between index0 and index1 inclusive */ public void addSelectionInterval(int index0, int index1) { delegateSelectionModel.addSelectionInterval(index0, index1); }
public final void afterUpdateData() { if (eventSelectionModel != null && eventTableModel != null && selected != null) { eventSelectionModel.setValueIsAdjusting(true); for (int i = 0; i < eventTableModel.getRowCount(); i++) { Object object = eventTableModel.getElementAt(i); if (selected.contains(object)) { eventSelectionModel.addSelectionInterval(i, i); } } eventSelectionModel.setValueIsAdjusting(false); selected = null; } if (selectedColumns != null) { for (int index : selectedColumns) { jTable.getColumnModel().getSelectionModel().addSelectionInterval(index, index); } } if (jTable != null) { jTable.unlock(); } if (jTable instanceof JSeparatorTable) { JSeparatorTable jSeparatorTable = (JSeparatorTable) jTable; jSeparatorTable.loadExpandedState(); } }