/** * Append a table to the division. When creating a table the number of rows * and columns contained in the table must be pre computed and provided * here. * * @param name * (Required) a local identifier used to differentiate the * element from its siblings. * * @param rows * (Required) The number of rows in the table. * @param cols * (Required) The number of columns in the table. * @param rend * (May be null) a rendering hint used to override the default * display of the element. * * @return A new table. */ public Table addTable(String name, int rows, int cols, String rend) throws WingException { Table table = new Table(context, name, rows, cols, rend); contents.add(table); return table; }