void (final RadContainer container, final List<RadComponent> contents, final List<Boolean> canRowsGrow, final List<Boolean> canColumnsGrow) { int rowCount = Math.max(1, canRowsGrow.size()); int columnCount = Math.max(1, canColumnsGrow.size()); container.setLayoutManager(this, new GridLayoutManager(rowCount, columnCount)); }