ComponentGrid extends Grid { public ComponentGridDecorator<T> getComponentGridDecorator() { return componentGridDecorator; } ComponentGrid(Class<T> typeOfRows); ComponentGridDecorator<T> getComponentGridDecorator(); FocusPreserveExtension getFocusPreserveExtension(); ComponentGrid<T> remove(T bean); ComponentGrid<T> add(T bean); ComponentGrid<T> addAll(Collection<T> beans); Grid.Column addComponentColumn(Object propertyId, ComponentGenerator<T> generator); ComponentGrid<T> refresh(); ComponentGrid<T> setRows(Collection<T> beans); ComponentGrid<T> generateHeaders(ComponentHeaderGenerator generator); ComponentGrid<T> generateHeaders(TextHeaderGenerator generator); ComponentGrid<T> generateHeaders(HtmlHeaderGenerator generator);  }
@Test public void testGetComponentDecorator() { ComponentGrid<ExampleBean> grid = new ComponentGrid(ExampleBean.class); ComponentGridDecorator decorator = grid.getComponentGridDecorator(); assertThat(decorator.getGrid(), Is.<Grid>is(grid)); }