void (Object aValue, int rowIndex, int columnIndex) { switch (columnIndex) { case CHECK_COLUMN -> myShouldRename[rowIndex] = ((Boolean)aValue).booleanValue(); case NEW_NAME_COLUMN -> myNewNames[rowIndex] = (String)aValue; } handleChanges(); }