Interface ExportColumn<C extends ExportCell>
- Type Parameters:
C- The type of the header cell.
- All Known Subinterfaces:
ExcelColumn,PrintableColumn
ExportColumn represents a single column in the underlying table-like medium (e.g. an Excel sheet or an
HTML table) that a structure can be exported into. There is a one-to-one correspondence between ExportColumn
and ExportRenderer instances. During export a new ExportColumn is created for each renderer and
passed to it for configuring.
Each ExportColumn has a header cell that the renderer should use to set the column name. Media-specific
column sub-interfaces can add other methods for configuring the column.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetRounding(int decimalPlaces) Sets the rounding that is used to format numbers in number-based formats.
-
Method Details
-
getHeaderCell
- Returns:
- This column's header cell.
-
setRounding
void setRounding(int decimalPlaces) Sets the rounding that is used to format numbers in number-based formats.- Parameters:
decimalPlaces- number of decimal places, must be 0 or more.
-