Class MergedColumn
java.lang.Object
com.brsanthu.dataexporter.model.Column
com.complexible.common.dataexporter.FormattedColumn
com.complexible.common.dataexporter.MergedColumn
A column that spans multiple columns. The title of the merged column appear at the top of the regular header row.
- Author:
- Evren Sirin
-
Field Summary
Fields inherited from class com.brsanthu.dataexporter.model.Column
aligner, headerCellCssClass, headerCellCssId, headerCellCssStyle, rowCellCssClass, rowCellCssId, rowCellCssStyle -
Constructor Summary
ConstructorsConstructorDescriptionMergedColumn(String name, Iterable<com.brsanthu.dataexporter.model.Column> columns) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdjusts the width of the merged column to be as wide as the columns it spans.com.google.common.collect.ImmutableList<com.brsanthu.dataexporter.model.Column> Methods inherited from class com.complexible.common.dataexporter.FormattedColumn
format, getMaxRowHeightMethods 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
-
MergedColumn
-
-
Method Details
-
getColumns
public com.google.common.collect.ImmutableList<com.brsanthu.dataexporter.model.Column> getColumns() -
adjustWidth
public void adjustWidth()Adjusts the width of the merged column to be as wide as the columns it spans. If the merged column is already wider then the merged columns will be widened.
-