RadComponent (final int startRow, final int startCol, final int rowSpan, final int colSpan) { for (int r = startRow; r < startRow + rowSpan; r++) { for (int c = startCol; c < startCol + colSpan; c++) { final RadComponent result = getComponentAtGrid(r, c); if (result != null) { return result; } } } return null; }