* Page constructor.
*/
public TreeTablePage()
{
IColumn columns[] = new IColumn[] {
new PropertyTreeColumn<String>(new ColumnLocation(Alignment.MIDDLE, 8,
Unit.PROPORTIONAL), "Tree Column (middle)", "userObject.property1"),
new PropertyRenderableColumn<String>(
new ColumnLocation(Alignment.LEFT, 7, Unit.EM), "L2", "userObject.property2"),
new PropertyRenderableColumn<String>(new ColumnLocation(Alignment.MIDDLE, 2,
Unit.PROPORTIONAL), "M1", "userObject.property3"),
new PropertyRenderableColumn<String>(new ColumnLocation(Alignment.MIDDLE, 2,
Unit.PROPORTIONAL), "M2", "userObject.property4"),
new PropertyRenderableColumn<String>(new ColumnLocation(Alignment.MIDDLE, 3,
Unit.PROPORTIONAL), "M3", "userObject.property5"),
new PropertyRenderableColumn<String>(
new ColumnLocation(Alignment.RIGHT, 8, Unit.EM), "R1", "userObject.property6"), };
tree = new TreeTable("treeTable", createTreeModel(), columns);
tree.getTreeState().setAllowSelectMultiple(true);
add(tree);
tree.getTreeState().collapseAll();