Package io.keikai.ui.impl.undo
Class CutCellAction
- java.lang.Object
-
- io.keikai.ui.impl.undo.AbstractUndoableAction
-
- io.keikai.ui.impl.undo.Abstract2DCellDataStyleAction
-
- io.keikai.ui.impl.undo.CutCellAction
-
- All Implemented Interfaces:
UndoableAction
,Serializable
public class CutCellAction extends Abstract2DCellDataStyleAction
- Author:
- dennis
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected int
_reservedDestLastColumn
protected int
_reservedDestLastRow
-
Fields inherited from class io.keikai.ui.impl.undo.Abstract2DCellDataStyleAction
_destColumn, _destLastColumn, _destLastRow, _destRow, _destSheet, _destWholeColumn, _destWholeRow, RESERVE_ALL, RESERVE_CONTENT, RESERVE_MERGE, RESERVE_STYLE
-
Fields inherited from class io.keikai.ui.impl.undo.AbstractUndoableAction
_column, _label, _lastColumn, _lastRow, _row, _sheet, _wholeColumn, _wholeRow
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyAction()
AreaRef
getPastedRange()
AreaRef
getRedoSelection()
protected int
getReservedDestLastColumn()
protected int
getReservedDestLastRow()
AreaRef
getUndoSelection()
-
Methods inherited from class io.keikai.ui.impl.undo.Abstract2DCellDataStyleAction
doAction, getRedoSheet, getReservedDestColumn, getReservedDestRow, getReservedDestSheet, getReservedSrcColumn, getReservedSrcLastColumn, getReservedSrcLastRow, getReservedSrcRow, getReservedSrcSheet, getUndoSheet, isDstSheetProtected, isRedoable, isSheetProtected, isSrcSheetProtected, isUndoable, undoAction
-
Methods inherited from class io.keikai.ui.impl.undo.AbstractUndoableAction
getLabel, isAnyCellProtected, isSheetAvailable, toString
-
-
-
-
Method Detail
-
getReservedDestLastRow
protected int getReservedDestLastRow()
- Overrides:
getReservedDestLastRow
in classAbstract2DCellDataStyleAction
-
getReservedDestLastColumn
protected int getReservedDestLastColumn()
- Overrides:
getReservedDestLastColumn
in classAbstract2DCellDataStyleAction
-
applyAction
protected void applyAction()
- Overrides:
applyAction
in classAbstract2DCellDataStyleAction
-
getUndoSelection
public AreaRef getUndoSelection()
- Specified by:
getUndoSelection
in interfaceUndoableAction
- Overrides:
getUndoSelection
in classAbstractUndoableAction
- Returns:
- Selection after undo of this action, null if doesn't provided;
-
getRedoSelection
public AreaRef getRedoSelection()
- Specified by:
getRedoSelection
in interfaceUndoableAction
- Overrides:
getRedoSelection
in classAbstract2DCellDataStyleAction
- Returns:
- Selection after redo of this action, null if doesn't provided;
-
getPastedRange
public AreaRef getPastedRange()
-
-