public class TreeTableCssTest {
private int debugIdCounter = 0;
public TreeTableCssTest(TestSampler parent) {
TreeTable treeTable = new TreeTable();
treeTable.setId("treetable" + debugIdCounter++);
treeTable.setWidth("100%");
parent.addComponent(treeTable);
HierarchicalContainer hc = createHierarchicalContainer();
treeTable.setContainerDataSource(hc);
for (Object itemId : treeTable.getItemIds()) {
treeTable.setCollapsed(itemId, false);
}
}