/** * Add a new row to the table. The row element is contained inside a table * and serves as a container of cell elements. A required 'role' attribute * determines how the row and its cells are used. * * * @param name * (May be null) a local identifier used to differentiate the * element from its siblings. * @param role * (May be null) determine what kind of information the row * carries, either header or data. See row.ROLES * @param rend * (May be null) a rendering hint used to override the default * display of the element. * * @return a new table row */ public Row addRow(String name, String role, String rend) throws WingException { Row row = new Row(context, name, role, rend); contents.add(row); return row; }