/** * Construct a new table row. * * @param context * (Required) The context this element is contained in, such as * where to route SAX events and what i18n catalogue to use. * @param name * (May be null) a local identifier used to differentiate the * element from its siblings. * @param role * (May be null) determines 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. */ protected Row(WingContext context, String name, String role, String rend) throws WingException { super(context); restrict(role, ROLES, "The 'role' parameter must be one of these values: 'data' or 'header'."); this.name = name; this.role = role; this.rend = rend; }