public interface ICellValueAndStyle
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
conversion(int row,
Cell cell,
Object o,
Column hc)
Int value conversion to others
|
String |
getFileSuffix()
Returns the worksheet name
|
int |
getStyleIndex(int rows,
Column hc,
Object o)
Returns the cell style index
|
void |
reset(int row,
Cell cell,
Object e,
Column hc)
Setting cell value and cell styles
|
default void |
setCellValue(int row,
Cell cell,
Object e,
Column hc,
Class<?> clazz,
boolean hasProcessor)
Setting cell value
|
default void |
setNullValue(int row,
Cell cell,
Column hc)
Setting cell value as null
|
<T> void |
setStyleDesign(T o,
Cell cell,
Column hc,
StyleProcessor<T> styleProcessor)
Setting all cell style of the specified row
|
void reset(int row,
Cell cell,
Object e,
Column hc)
row - the row numbercell - the celle - the cell valuehc - the header columnString getFileSuffix()
int getStyleIndex(int rows,
Column hc,
Object o)
rows - the row numberhc - the header columno - the cell value<T> void setStyleDesign(T o,
Cell cell,
Column hc,
StyleProcessor<T> styleProcessor)
T - the row's classo - the row datacell - the cell of rowhc - the header columnstyleProcessor - a customize StyleProcessordefault void setCellValue(int row,
Cell cell,
Object e,
Column hc,
Class<?> clazz,
boolean hasProcessor)
row - the row numbercell - the celle - the cell valuehc - the header columnclazz - the cell value typehasProcessor - Specify the cell has value converterdefault void setNullValue(int row,
Cell cell,
Column hc)
row - the row numbercell - the cellhc - the header columnCopyright © 2022. All rights reserved.