@Override
  public int toListIndex(int row, int column) {
    final int columns = getColumnCount();
    return columns == 0 ? -1 : row * columns + column;
  }
@Override
  public int toListIndex(int row, int column)