Package io.keikai.ui.impl.undo
Class CellEditTextAction
- java.lang.Object
-
- io.keikai.ui.impl.undo.AbstractUndoableAction
-
- io.keikai.ui.impl.undo.AbstractEditTextAction
-
- io.keikai.ui.impl.undo.CellEditTextAction
-
- All Implemented Interfaces:
UndoableAction
,Serializable
public class CellEditTextAction extends AbstractEditTextAction
- Author:
- dennis
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class io.keikai.ui.impl.undo.AbstractUndoableAction
_column, _label, _lastColumn, _lastRow, _row, _sheet, _wholeColumn, _wholeRow
-
-
Constructor Summary
Constructors Constructor Description CellEditTextAction(String label, Sheet sheet, int row, int column, int lastRow, int lastColumn, String[][] editTexts)
CellEditTextAction(String label, Sheet sheet, int row, int column, int lastRow, int lastColumn, String[][] editTexts, boolean isPasteFromClipboard)
CellEditTextAction(String label, Sheet sheet, int row, int column, int lastRow, int lastColumn, String editText, boolean isArrayFormula)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyAction()
void
undoAction()
Undo the action-
Methods inherited from class io.keikai.ui.impl.undo.AbstractEditTextAction
doAction, getReservedColumn, getReservedLastColumn, getReservedLastRow, getReservedRow, getReservedSheet, isRangeProtected, isRedoable, isUndoable
-
Methods inherited from class io.keikai.ui.impl.undo.AbstractUndoableAction
getLabel, getRedoSelection, getRedoSheet, getUndoSelection, getUndoSheet, isAnyCellProtected, isSheetAvailable, isSheetProtected, toString
-
-
-
-
Constructor Detail
-
CellEditTextAction
public CellEditTextAction(String label, Sheet sheet, int row, int column, int lastRow, int lastColumn, String editText, boolean isArrayFormula)
-
CellEditTextAction
public CellEditTextAction(String label, Sheet sheet, int row, int column, int lastRow, int lastColumn, String[][] editTexts)
-
-
Method Detail
-
applyAction
protected void applyAction()
- Specified by:
applyAction
in classAbstractEditTextAction
-
undoAction
public void undoAction()
Description copied from interface:UndoableAction
Undo the action- Specified by:
undoAction
in interfaceUndoableAction
- Overrides:
undoAction
in classAbstractEditTextAction
-
-