public class PasteCellAction extends AbstractCellDataStyleAction
Modifier and Type | Field and Description |
---|---|
protected int |
_destColumn |
protected int |
_destLastColumn |
protected int |
_destLastRow |
protected int |
_destRow |
protected Sheet |
_destSheet |
protected boolean |
_destWholeColumn |
protected boolean |
_destWholeRow |
protected int |
_reservedDestLastColumn |
protected int |
_reservedDestLastRow |
RESERVE_ALL, RESERVE_CONTENT, RESERVE_MERGE, RESERVE_STYLE
_column, _label, _lastColumn, _lastRow, _row, _sheet, _wholeColumn, _wholeRow
Constructor and Description |
---|
PasteCellAction(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) |
PasteCellAction(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.
|
PasteCellAction(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() |
Sheet |
getRedoSheet() |
protected int |
getReservedColumn() |
protected int |
getReservedLastColumn() |
protected int |
getReservedLastRow() |
protected int |
getReservedRow() |
protected Sheet |
getReservedSheet() |
AreaRef |
getUndoSelection() |
Sheet |
getUndoSheet() |
protected boolean |
isDstSheetProtected() |
protected boolean |
isSheetProtected()
Check if sheet is protected
|
doAction, isRedoable, isUndoable, undoAction
getLabel, isAnyCellProtected, isSheetAvailable, toString
protected final int _destRow
protected final int _destColumn
protected final int _destLastRow
protected final int _destLastColumn
protected final int _reservedDestLastRow
protected final int _reservedDestLastColumn
protected final Sheet _destSheet
protected final boolean _destWholeColumn
protected final boolean _destWholeRow
public PasteCellAction(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 PasteCellAction(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 PasteCellAction(String label, Sheet sheet, int srcRow, int srcColumn, int srcLastRow, int srcLastColumn, Sheet destSheet, int destRow, int destColumn, int destLastRow, int destLastColumn)
protected boolean isSheetProtected()
AbstractUndoableAction
isSheetProtected
in class AbstractCellDataStyleAction
public Sheet getUndoSheet()
getUndoSheet
in interface UndoableAction
getUndoSheet
in class AbstractUndoableAction
public Sheet getRedoSheet()
getRedoSheet
in interface UndoableAction
getRedoSheet
in class AbstractUndoableAction
protected int getReservedRow()
getReservedRow
in class AbstractCellDataStyleAction
protected int getReservedColumn()
getReservedColumn
in class AbstractCellDataStyleAction
protected int getReservedLastRow()
getReservedLastRow
in class AbstractCellDataStyleAction
protected int getReservedLastColumn()
getReservedLastColumn
in class AbstractCellDataStyleAction
protected Sheet getReservedSheet()
getReservedSheet
in class AbstractCellDataStyleAction
public AreaRef getUndoSelection()
getUndoSelection
in interface UndoableAction
getUndoSelection
in class AbstractUndoableAction
public AreaRef getRedoSelection()
getRedoSelection
in interface UndoableAction
getRedoSelection
in class AbstractUndoableAction
protected void applyAction()
applyAction
in class AbstractCellDataStyleAction
protected boolean isDstSheetProtected()
Copyright © 2020. All rights reserved.