row = setRowAttributes(table, page, row, depth, children.hasNext());
row = setRowAttributes(table, page, row, depth, !children.hasNext());
	private int addToTree(IWContext iwc, Iterator children, Table table, int row, int depth) {		while (children.hasNext()) {			PageTreeNode page = (PageTreeNode) children.next();			addObject(iwc, page, table, row, depth);			row = setRowAttributes(table, page, row, depth, children.hasNext());						if (isOpen(page) && page.getChildCount() > 0) {				row = addToTree(iwc, page.getChildren(), table, row, depth + 1);			}		}				return row;	}