public class CutCellAction extends Abstract2DCellDataStyleAction
Modifier and Type | Field and Description |
---|---|
protected int |
_reservedDestLastColumn |
protected int |
_reservedDestLastRow |
_destColumn, _destLastColumn, _destLastRow, _destRow, _destSheet, _destWholeColumn, _destWholeRow, RESERVE_ALL, RESERVE_CONTENT, RESERVE_MERGE, RESERVE_STYLE
_column, _label, _lastColumn, _lastRow, _row, _sheet, _wholeColumn, _wholeRow
Constructor and Description |
---|
CutCellAction(String label,
Sheet sheet,
int srcRow,
int srcColumn,
int srcLastRow,
int srcLastColumn,
boolean srcWholeColumn,
boolean srcWholeRow,
Sheet destSheet,
int destRow,
int destColumn,
int destLastRow,
int destLastColumn,
boolean destWholeColumn,
boolean destWholeRow) |
CutCellAction(String label,
Sheet sheet,
int srcRow,
int srcColumn,
int srcLastRow,
int srcLastColumn,
boolean srcWholeColumn,
Sheet destSheet,
int destRow,
int destColumn,
int destLastRow,
int destLastColumn,
boolean destWholeColumn)
Deprecated.
|
CutCellAction(String label,
Sheet sheet,
int srcRow,
int srcColumn,
int srcLastRow,
int srcLastColumn,
Sheet destSheet,
int destRow,
int destColumn,
int destLastRow,
int destLastColumn)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
applyAction() |
AreaRef |
getRedoSelection() |
protected int |
getReservedDestLastColumn() |
protected int |
getReservedDestLastRow() |
AreaRef |
getUndoSelection() |
doAction, getRedoSheet, getReservedDestColumn, getReservedDestRow, getReservedDestSheet, getReservedSrcColumn, getReservedSrcLastColumn, getReservedSrcLastRow, getReservedSrcRow, getReservedSrcSheet, getUndoSheet, isDstSheetProtected, isRedoable, isSheetProtected, isSrcSheetProtected, isUndoable, undoAction
getLabel, isAnyCellProtected, isSheetAvailable, toString
protected final int _reservedDestLastRow
protected final int _reservedDestLastColumn
public CutCellAction(String label, Sheet sheet, int srcRow, int srcColumn, int srcLastRow, int srcLastColumn, boolean srcWholeColumn, boolean srcWholeRow, Sheet destSheet, int destRow, int destColumn, int destLastRow, int destLastColumn, boolean destWholeColumn, boolean destWholeRow)
@Deprecated public CutCellAction(String label, Sheet sheet, int srcRow, int srcColumn, int srcLastRow, int srcLastColumn, boolean srcWholeColumn, Sheet destSheet, int destRow, int destColumn, int destLastRow, int destLastColumn, boolean destWholeColumn)
@Deprecated public CutCellAction(String label, Sheet sheet, int srcRow, int srcColumn, int srcLastRow, int srcLastColumn, Sheet destSheet, int destRow, int destColumn, int destLastRow, int destLastColumn)
protected int getReservedDestLastRow()
getReservedDestLastRow
in class Abstract2DCellDataStyleAction
protected int getReservedDestLastColumn()
getReservedDestLastColumn
in class Abstract2DCellDataStyleAction
protected void applyAction()
applyAction
in class Abstract2DCellDataStyleAction
public AreaRef getUndoSelection()
getUndoSelection
in interface UndoableAction
getUndoSelection
in class AbstractUndoableAction
public AreaRef getRedoSelection()
getRedoSelection
in interface UndoableAction
getRedoSelection
in class Abstract2DCellDataStyleAction
Copyright © 2020. All rights reserved.