Package io.github.dornol.excelkit.excel
Class ColumnConfig<T>
java.lang.Object
io.github.dornol.excelkit.excel.ColumnStyleConfig<T,ColumnConfig<T>>
io.github.dornol.excelkit.excel.ColumnConfig<T>
- Type Parameters:
T- the row data type
Concrete column styling configuration used by
ExcelSheetWriter and
TemplateListWriter for their .column(name, fn, cfg -> ...) overloads.
All 47 styling methods (type, format, bold, color, width, border, validation, etc.)
are inherited from ColumnStyleConfig. This class exists solely to close the
generic self-type: ColumnStyleConfig<T, ColumnConfig<T>>, so that fluent
chaining within the configurer lambda returns the correct concrete type.
ExcelColumn.ExcelColumnBuilder is a separate subclass of
ColumnStyleConfig that adds style(CellStyle) and build() —
it is used by ExcelWriter's column API and is unaffected by this class.
- Since:
- 0.13.0
-
Nested Class Summary
Nested classes/interfaces inherited from class io.github.dornol.excelkit.excel.ColumnStyleConfig
ColumnStyleConfig.DefaultStyleConfig<T> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.github.dornol.excelkit.excel.ColumnStyleConfig
alignment, backgroundColor, backgroundColor, bold, border, borderBottom, borderLeft, borderRight, borderTop, cellColor, comment, commentSize, dropdown, fontColor, fontColor, fontName, fontSize, format, group, headerComment, headerComment, headerFontColor, headerFontColor, hidden, hidden, indentation, locked, maxWidth, minWidth, nullValue, outline, rotation, strikethrough, strikethrough, type, underline, underline, validation, verticalAlignment, width, wrapText, wrapText
-
Constructor Details
-
ColumnConfig
public ColumnConfig()Creates a new column configuration with defaults.
-