IGridTable table = new GridTable(0, 0, grid.getHeight() - 1, grid.getWidth() - 1, grid);
if (reg != null){ region = new GridRegion(reg.getTop(), reg.getLeft(), reg.getBottom(), reg.getLeft() + getWidth() - 1); }else{ region = new GridRegion(row, column, row, column + getWidth() - 1); if (reg != null){ region = new GridRegion(reg.getTop(), reg.getLeft(), reg.getBottom(), reg.getLeft() + getWidth() - 1 - (delegate1.getWidth() + delegate2.getWidth())); }else{ region = new GridRegion(row, column, row, column + getWidth() - 1 - (delegate1.getWidth() + delegate2.getWidth()));