public static interface Spreadsheet.CellValueHandler extends Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
cellValueUpdated(org.apache.poi.ss.usermodel.Cell cell,
org.apache.poi.ss.usermodel.Sheet sheet,
int colIndex,
int rowIndex,
String newValue,
org.apache.poi.ss.usermodel.FormulaEvaluator formulaEvaluator,
org.apache.poi.ss.usermodel.DataFormatter formatter,
org.apache.poi.ss.formula.ConditionalFormattingEvaluator conditionalFormattingEvaluator)
Called if a cell value has been edited by the user by using the
default cell editor.
|
boolean cellValueUpdated(org.apache.poi.ss.usermodel.Cell cell,
org.apache.poi.ss.usermodel.Sheet sheet,
int colIndex,
int rowIndex,
String newValue,
org.apache.poi.ss.usermodel.FormulaEvaluator formulaEvaluator,
org.apache.poi.ss.usermodel.DataFormatter formatter,
org.apache.poi.ss.formula.ConditionalFormattingEvaluator conditionalFormattingEvaluator)
Spreadsheet.setCellValueHandler(CellValueHandler) to enable
it for the spreadsheet.cell - The cell that has been edited, may be null if
the cell doesn't yet existssheet - The sheet the cell belongs to, the currently active sheetcolIndex - Cell column index, 0-basedrowIndex - Cell row index, 0-basednewValue - The value user has enteredformulaEvaluator - The FormulaEvaluator for this sheetformatter - The DataFormatter for this workbookconditionalFormattingEvaluator - The ConditionalFormattingEvaluator for this
workbooktrue if component default parsing should still
be done, false if notCopyright © 2013–2026 Vaadin Ltd. All rights reserved.