public static interface Spreadsheet.CellDeletionHandler extends Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
cellDeleted(org.apache.poi.ss.usermodel.Cell cell,
org.apache.poi.ss.usermodel.Sheet sheet,
int colIndex,
int rowIndex,
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 deleted by the user.
|
boolean |
cellRangeDeleted(List<org.apache.poi.ss.util.CellRangeAddress> cellRangeAddresses,
org.apache.poi.ss.usermodel.Sheet sheet,
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 range has been deleted by the user.
|
boolean |
individualSelectedCellsDeleted(List<org.apache.poi.ss.util.CellReference> individualSelectedCells,
org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.FormulaEvaluator formulaEvaluator,
org.apache.poi.ss.usermodel.DataFormatter formatter,
org.apache.poi.ss.formula.ConditionalFormattingEvaluator conditionalFormattingEvaluator)
Called if individually selected cell values have been deleted by the
user.
|
boolean cellDeleted(org.apache.poi.ss.usermodel.Cell cell,
org.apache.poi.ss.usermodel.Sheet sheet,
int colIndex,
int rowIndex,
org.apache.poi.ss.usermodel.FormulaEvaluator formulaEvaluator,
org.apache.poi.ss.usermodel.DataFormatter formatter,
org.apache.poi.ss.formula.ConditionalFormattingEvaluator conditionalFormattingEvaluator)
Spreadsheet.setCellDeletionHandler(CellDeletionHandler) to
enable it for the spreadsheet.cell - The cell that has been deletedsheet - The sheet the cell belongs to, the currently active sheetcolIndex - Cell column index, 0-basedrowIndex - Cell row index, 0-basedformulaEvaluator - The FormulaEvaluator for this sheetformatter - The DataFormatter for this workbookconditionalFormattingEvaluator - The ConditionalFormattingEvaluator for this
workbooktrue if component default deletion should still
be done, false if notboolean individualSelectedCellsDeleted(List<org.apache.poi.ss.util.CellReference> individualSelectedCells, org.apache.poi.ss.usermodel.Sheet sheet, org.apache.poi.ss.usermodel.FormulaEvaluator formulaEvaluator, org.apache.poi.ss.usermodel.DataFormatter formatter, org.apache.poi.ss.formula.ConditionalFormattingEvaluator conditionalFormattingEvaluator)
Spreadsheet.setCellDeletionHandler(CellDeletionHandler) to
enable it for the spreadsheet.individualSelectedCells - The cells that have been deletedsheet - The sheet the cells belong to, the currently active sheetformulaEvaluator - The FormulaEvaluator for this sheetformatter - The DataFormatter for this workbookconditionalFormattingEvaluator - The ConditionalFormattingEvaluator for this
workbooktrue if component default deletion should still
be done, false if notboolean cellRangeDeleted(List<org.apache.poi.ss.util.CellRangeAddress> cellRangeAddresses, org.apache.poi.ss.usermodel.Sheet sheet, org.apache.poi.ss.usermodel.FormulaEvaluator formulaEvaluator, org.apache.poi.ss.usermodel.DataFormatter formatter, org.apache.poi.ss.formula.ConditionalFormattingEvaluator conditionalFormattingEvaluator)
Spreadsheet.setCellDeletionHandler(CellDeletionHandler) to
enable it for the spreadsheet.cellRangeAddresses - The range of cells that has been deletedsheet - The sheet the cells belongs to, the currently active sheetformulaEvaluator - The FormulaEvaluator for this sheetformatter - The DataFormatter for this workbookconditionalFormattingEvaluator - The ConditionalFormattingEvaluator for this
workbooktrue if component default deletion should still
be done, false if notCopyright © 2013–2026 Vaadin Ltd. All rights reserved.