@Test public void should_generate_cell_tag_with_one_class() { createHtmlCellTag(); column.addCssCellClass("aClass"); assertThat(column.toHtml().toString()).isEqualTo("<" + column.getTag() + " class=\"aClass\"></" + column.getTag() + ">"); }
public void addCssCellClass(String cssCellClass) { if (this.cssCellClass == null) { this.cssCellClass = new StringBuilder(); } else { this.cssCellClass.append(CLASS_SEPARATOR); } this.cssCellClass.append(cssCellClass); }
HtmlColumn extends HtmlTagWithContent { public void addCssCellClass(String cssCellClass) { if (this.cssCellClass == null) { this.cssCellClass = new StringBuilder(); } else { this.cssCellClass.append(CLASS_SEPARATOR); } this.cssCellClass.append(cssCellClass); } }
HtmlColumn extends HtmlTagWithContent { public void addCssCellClass(String cssCellClass) { if (this.cssCellClass == null) { this.cssCellClass = new StringBuilder(); } else { this.cssCellClass.append(CLASS_SEPARATOR); } this.cssCellClass.append(cssCellClass); } HtmlColumn();  HtmlColumn(String displayFormat);  HtmlColumn(Boolean isHeader);  HtmlColumn(Boolean isHeader, String content);  HtmlColumn(Boolean isHeader, String content, Map<String, String> dynamicAttributes);  HtmlColumn(Boolean isHeader, String content, Map<String, String> dynamicAttributes, String displayTypes); }
HtmlColumn extends HtmlTagWithContent { public void addCssCellClass(String cssCellClass) { if (this.cssCellClass == null) { this.cssCellClass = new StringBuilder(); } else { this.cssCellClass.append(CLASS_SEPARATOR); } this.cssCellClass.append(cssCellClass); } HtmlColumn();  HtmlColumn(String displayFormat);  HtmlColumn(Boolean isHeader);  HtmlColumn(Boolean isHeader, String content);  HtmlColumn(Boolean isHeader, String content, Map<String, String> dynamicAttributes);  HtmlColumn(Boolean isHeader, String content, Map<String, String> dynamicAttributes, String displayTypes); Boolean isHeaderColumn(); ColumnConfiguration getColumnConfiguration(); void setColumnConfiguration(ColumnConfiguration columnConfiguration); void addCssClass(String cssClass); void addCssCellClass(String cssCellClass); void addCssCellStyle(String cssCellStyle); Set<String> getEnabledDisplayTypes(); void setEnabledDisplayTypes(Set<String> enabledDisplayTypes); StringBuilder getCssCellStyle(); StringBuilder getCssCellClass(); }
HtmlColumn extends HtmlTagWithContent { public void addCssCellClass(String cssCellClass) { if (this.cssCellClass == null) { this.cssCellClass = new StringBuilder(); } else { this.cssCellClass.append(CLASS_SEPARATOR); } this.cssCellClass.append(cssCellClass); } HtmlColumn();  HtmlColumn(String displayFormat);  HtmlColumn(Boolean isHeader);  HtmlColumn(Boolean isHeader, String content);  HtmlColumn(Boolean isHeader, String content, Map<String, String> dynamicAttributes);  HtmlColumn(Boolean isHeader, String content, Map<String, String> dynamicAttributes, String displayTypes); Boolean isHeaderColumn(); ColumnConfiguration getColumnConfiguration(); void setColumnConfiguration(ColumnConfiguration columnConfiguration); void addCssClass(String cssClass); void addCssCellClass(String cssCellClass); void addCssCellStyle(String cssCellStyle); Set<String> getEnabledDisplayTypes(); void setEnabledDisplayTypes(Set<String> enabledDisplayTypes); StringBuilder getCssCellStyle(); StringBuilder getCssCellClass();  }