acc.addTab(new Label(), "Section 1", icon);
acc.addTab(new Label(), "Section 2", icon);
gl.addComponent(acc);
// Table, caption + column + row + action icons
Table tbl = new Table("Table");
tbl.setRowHeaderMode(RowHeaderMode.ICON_ONLY);
tbl.setIcon(icon);
tbl.addContainerProperty("Column 1", String.class, "Row", "Column 1",
icon, Align.LEFT);
tbl.addContainerProperty("Column 2", String.class, "Row", "Column 2",
icon, Align.LEFT);
tbl.setItemIcon(tbl.addItem(), icon);
tbl.setItemIcon(tbl.addItem(), icon);
tbl.setItemIcon(tbl.addItem(), icon);
tbl.setPageLength(3);
gl.addComponent(tbl);
tbl.addActionHandler(actionHandler);
// Selects, caption + item icons
Class<?>[] selects = { ComboBox.class, NativeSelect.class,
ListSelect.class, TwinColSelect.class, OptionGroup.class };
for (Class<?> clazz : selects) {