public interface ExcelValidation
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
valid(DateValid dateValid,
org.apache.poi.ss.usermodel.Sheet sheet,
int firstRow,
int firstCol,
int lastCol)
Custom time validation rules
|
default void |
valid(ExplicitValid explicitValid,
org.apache.poi.ss.usermodel.Workbook workbook,
org.apache.poi.ss.usermodel.Sheet sheet,
int firstRow,
int firstCol,
int lastCol,
int validIndex,
String[] values)
Drop-down check rule
|
default void |
valid(NumericValid numericValid,
org.apache.poi.ss.usermodel.Sheet sheet,
int firstRow,
int firstCol,
int lastCol)
Custom data validation rules
|
default void valid(DateValid dateValid, org.apache.poi.ss.usermodel.Sheet sheet, int firstRow, int firstCol, int lastCol)
dateValid - DateValidsheet - sheetfirstRow - First rowfirstCol - First collastCol - Last coldefault void valid(NumericValid numericValid, org.apache.poi.ss.usermodel.Sheet sheet, int firstRow, int firstCol, int lastCol)
numericValid - NumericValidsheet - sheetfirstRow - First rowfirstCol - First collastCol - Last coldefault void valid(ExplicitValid explicitValid, org.apache.poi.ss.usermodel.Workbook workbook, org.apache.poi.ss.usermodel.Sheet sheet, int firstRow, int firstCol, int lastCol, int validIndex, String[] values)
explicitValid - ExplicitValidworkbook - workbooksheet - The current sheetfirstRow - First rowfirstCol - First collastCol - Last colvalidIndex - Valid indexvalues - Combobox valuesCopyright © 2020. All rights reserved.