Class FormattedColumn
java.lang.Object
com.brsanthu.dataexporter.model.Column
com.complexible.common.dataexporter.FormattedColumn
- Direct Known Subclasses:
MergedColumn,WordWrapStringColumn
public class FormattedColumn
extends com.brsanthu.dataexporter.model.Column
Column that foramts values using
String.format(String, Object...).- Author:
- Evren Sirin
-
Field Summary
Fields inherited from class com.brsanthu.dataexporter.model.Column
aligner, headerCellCssClass, headerCellCssId, headerCellCssStyle, rowCellCssClass, rowCellCssId, rowCellCssStyle -
Constructor Summary
ConstructorsConstructorDescriptionFormattedColumn(String name, String format, com.brsanthu.dataexporter.model.AlignType align) -
Method Summary
Modifier and TypeMethodDescriptionformat(com.brsanthu.dataexporter.model.CellDetails cellDetails) intgetMaxRowHeight(com.brsanthu.dataexporter.model.CellDetails cellDetails) Methods inherited from class com.brsanthu.dataexporter.model.Column
align, align, align, align, getAlign, getCellValueGenerator, getHeaderCellCssClass, getHeaderCellCssId, getHeaderCellCssStyle, getMaxRowHeight, getMaxRowHeight, getName, getRowCellCssClass, getRowCellCssId, getRowCellCssStyle, getTitle, getTitle2, getTitle3, getWidth, isGeneratesOwnData, isNillable, setAlign, setCellValueGenerator, setGeneratesOwnData, setHeaderCellCssClass, setHeaderCellCssId, setHeaderCellCssStyle, setName, setNillable, setRowCellCssClass, setRowCellCssId, setRowCellCssStyle, setTitle, setTitle2, setTitle3, setWidth
-
Constructor Details
-
FormattedColumn
-
-
Method Details
-
getMaxRowHeight
public int getMaxRowHeight(com.brsanthu.dataexporter.model.CellDetails cellDetails) - Specified by:
getMaxRowHeightin classcom.brsanthu.dataexporter.model.Column
-
format
- Specified by:
formatin classcom.brsanthu.dataexporter.model.Column
-