boolean (RadComponent c, int rowDelta, int colDelta, final int rowSpanDelta, final int colSpanDelta) { if (colDelta == 1 || colDelta == -1) { int newIndex = c.getParent().indexOfComponent(c) + colDelta; return newIndex >= 0 && newIndex < c.getParent().getComponentCount(); } return false; }