Package com.illumon.util.jettyhelper
Class HtmlTableBuilder.ColumnOption
java.lang.Object
com.illumon.util.jettyhelper.HtmlTableBuilder.ColumnOption
- Enclosing class:
- HtmlTableBuilder
Options for columns in the table.
-
Constructor Summary
ConstructorsConstructorDescriptionColumnOption(String headerName) Constructor that uses all defaults for the columnColumnOption(String headerName, @Nullable String alignment) Constructor that doesn't apply any formatting to the columnColumnOption(String headerName, @Nullable String alignment, @Nullable String columnFormatStartTag, @Nullable String columnFormatEndTag) Constructor that allows all column formatting options -
Method Summary
-
Constructor Details
-
ColumnOption
public ColumnOption(String headerName, @Nullable @Nullable String alignment, @Nullable @Nullable String columnFormatStartTag, @Nullable @Nullable String columnFormatEndTag) Constructor that allows all column formatting options- Parameters:
headerName- the column's name in the table headeralignment- the color to use for alternating rows; if null, then no alignment will be appliedcolumnFormatStartTag- formatting start tag that will be applied to all data in the columncolumnFormatEndTag- formatting end tag that will be applied to all data in the column
-
ColumnOption
Constructor that doesn't apply any formatting to the column- Parameters:
headerName- the column's name in the table headeralignment- the color to use for alternating rows; if null, then no alignment will be applied
-
ColumnOption
Constructor that uses all defaults for the column- Parameters:
headerName- the column's name in the table header
-