public class CellShiftValuesCommand extends CellValueCommand
selectedcellCol, selectedCellRange, selectedCellRow, valuesactiveSheetIndex, spreadsheet| Constructor and Description |
|---|
CellShiftValuesCommand(Spreadsheet spreadsheet,
boolean decrease)
Creates a new CellShiftValuesCommand targeting the given spreadsheet.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executes this command.
|
org.apache.poi.ss.util.CellRangeAddress |
getPaintedCellRange()
The painted range that should be set when this command is run.
|
org.apache.poi.ss.util.CellReference |
getSelectedCellReference()
The selected cell that should be set when this command is run.
|
captureCellRangeValues, captureCellValues, clearValues, getCell, getCellValue, getCellValue, getCellValue, getChangedCells, updateCellValuegetActiveSheetIndex, getSheet, setActiveSheetIndexclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetActiveSheetIndex, setActiveSheetIndexpublic CellShiftValuesCommand(Spreadsheet spreadsheet, boolean decrease)
spreadsheet - Target spreadsheetdecrease - public void execute()
Commandexecute in interface Commandexecute in class CellValueCommandpublic org.apache.poi.ss.util.CellReference getSelectedCellReference()
Commandnull is
returned.getSelectedCellReference in interface CommandgetSelectedCellReference in class CellValueCommandnullpublic org.apache.poi.ss.util.CellRangeAddress getPaintedCellRange()
Commandnull is returned.getPaintedCellRange in interface CommandgetPaintedCellRange in class CellValueCommandnullCopyright © 2013–2026 Vaadin Ltd. All rights reserved.