/** * This property is true if upcoming changes to the value of the model should be considered a single event. */ @Override public void setValueIsAdjusting(boolean valueIsAdjusting) { delegateSelectionModel.setValueIsAdjusting(valueIsAdjusting); }
/** * This property is true if upcoming changes to the value of the model should be considered a single event. */ public void setValueIsAdjusting(boolean valueIsAdjusting) { delegateSelectionModel.setValueIsAdjusting(valueIsAdjusting); }
/** * This property is true if upcoming changes to the value of the model should be considered a single event. */ public void setValueIsAdjusting(boolean valueIsAdjusting) { delegateSelectionModel.setValueIsAdjusting(valueIsAdjusting); }
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(); } }