@Test public void should_get_header_columns() { populateColumns(); assertThat(row.getHeaderColumns()).containsExactly(headerColumn); }
public List<HtmlColumn> getHeaderColumns() { List<HtmlColumn> retval = new ArrayList<HtmlColumn>(); for (HtmlColumn column : columns) { if (column.isHeaderColumn()) { retval.add(column); } } return retval; }
HtmlRow extends AbstractHtmlTag { public List<HtmlColumn> getHeaderColumns() { List<HtmlColumn> retval = new ArrayList<HtmlColumn>(); for (HtmlColumn column : columns) { if (column.isHeaderColumn()) { retval.add(column); } } return retval; } }
HtmlRow extends AbstractHtmlTag { public List<HtmlColumn> getHeaderColumns() { List<HtmlColumn> retval = new ArrayList<HtmlColumn>(); for (HtmlColumn column : columns) { if (column.isHeaderColumn()) { retval.add(column); } } return retval; } HtmlRow();  HtmlRow(String id); }
HtmlRow extends AbstractHtmlTag { public List<HtmlColumn> getHeaderColumns() { List<HtmlColumn> retval = new ArrayList<HtmlColumn>(); for (HtmlColumn column : columns) { if (column.isHeaderColumn()) { retval.add(column); } } return retval; } HtmlRow();  HtmlRow(String id); @Override StringBuilder toHtml(); List<HtmlColumn> getColumns(String... enabledFormats); List<HtmlColumn> getColumns(); void setColumns(List<HtmlColumn> columns); HtmlColumn addHeaderColumn(HtmlColumn headerColumn); HtmlColumn addHeaderColumn(String columnContent); HtmlColumn addColumn(HtmlColumn column); HtmlColumn addColumn(String columnContent); HtmlColumn addColumn(String columnContent, String displayFormat); HtmlRow addHeaderColumns(String... columns); List<HtmlColumn> getHeaderColumns(); HtmlRow addColumns(String... columns); HtmlColumn getLastColumn(); @Override String toString(); }
HtmlRow extends AbstractHtmlTag { public List<HtmlColumn> getHeaderColumns() { List<HtmlColumn> retval = new ArrayList<HtmlColumn>(); for (HtmlColumn column : columns) { if (column.isHeaderColumn()) { retval.add(column); } } return retval; } HtmlRow();  HtmlRow(String id); @Override StringBuilder toHtml(); List<HtmlColumn> getColumns(String... enabledFormats); List<HtmlColumn> getColumns(); void setColumns(List<HtmlColumn> columns); HtmlColumn addHeaderColumn(HtmlColumn headerColumn); HtmlColumn addHeaderColumn(String columnContent); HtmlColumn addColumn(HtmlColumn column); HtmlColumn addColumn(String columnContent); HtmlColumn addColumn(String columnContent, String displayFormat); HtmlRow addHeaderColumns(String... columns); List<HtmlColumn> getHeaderColumns(); HtmlRow addColumns(String... columns); HtmlColumn getLastColumn(); @Override String toString();  }