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 usingString.format(String, Object...)
.- Author:
- Evren Sirin
-
-
Constructor Summary
Constructors Constructor Description FormattedColumn(java.lang.String name, java.lang.String format, com.brsanthu.dataexporter.model.AlignType align)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
format(com.brsanthu.dataexporter.model.CellDetails cellDetails)
int
getMaxRowHeight(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
-
-
-
-
Method Detail
-
getMaxRowHeight
public int getMaxRowHeight(com.brsanthu.dataexporter.model.CellDetails cellDetails)
- Specified by:
getMaxRowHeight
in classcom.brsanthu.dataexporter.model.Column
-
format
public java.lang.String format(com.brsanthu.dataexporter.model.CellDetails cellDetails)
- Specified by:
format
in classcom.brsanthu.dataexporter.model.Column
-
-