C - The type of the header cell.@PublicApi
public interface ExportColumn<C extends ExportCell>
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.
ExportCell,
ExportRenderer| Modifier and Type | Method and Description |
|---|---|
C |
getHeaderCell() |
void |
setRounding(int decimalPlaces)
Sets the rounding that is used to format numbers in number-based formats.
|
@NotNull C getHeaderCell()
void setRounding(int decimalPlaces)
decimalPlaces - number of decimal places, must be 0 or moreCopyright © 2018 ALM Works. All Rights Reserved.