Package com.illumon.util.jettyhelper
Class HtmlTableBuilder.ColumnOption
java.lang.Object
com.illumon.util.jettyhelper.HtmlTableBuilder.ColumnOption
- Enclosing class:
- HtmlTableBuilder
public static class HtmlTableBuilder.ColumnOption extends Object
Options for columns in the table.
-
Constructor Summary
Constructors Constructor Description ColumnOption(String headerName)
Constructor that uses all defaults for the columnColumnOption(String headerName, String alignment)
Constructor that doesn't apply any formatting to the columnColumnOption(String headerName, String alignment, String columnFormatStartTag, String columnFormatEndTag)
Constructor that allows all column formatting options -
Method Summary
-
Constructor Details
-
ColumnOption
public ColumnOption(String headerName, @Nullable String alignment, @Nullable String columnFormatStartTag, @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
-