Package io.keikai.ui.impl.undo
Class ClearCellAction
java.lang.Object
io.keikai.ui.impl.undo.AbstractUndoableAction
io.keikai.ui.impl.undo.AbstractCellDataStyleAction
io.keikai.ui.impl.undo.ClearCellAction
- All Implemented Interfaces:
UndoableAction,Serializable
- Author:
- dennis
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class io.keikai.ui.impl.undo.AbstractCellDataStyleAction
RESERVE_ALL, RESERVE_CONTENT, RESERVE_MERGE, RESERVE_STYLEFields inherited from class io.keikai.ui.impl.undo.AbstractUndoableAction
_column, _label, _lastColumn, _lastRow, _row, _sheet, _wholeColumn, _wholeRow -
Constructor Summary
ConstructorsConstructorDescriptionClearCellAction(String label, Sheet sheet, int row, int column, int lastRow, int lastColumn, ClearCellAction.Type type) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected booleanCheck if sheet is protectedMethods inherited from class io.keikai.ui.impl.undo.AbstractCellDataStyleAction
doAction, getReservedColumn, getReservedLastColumn, getReservedLastRow, getReservedRow, getReservedSheet, isRedoable, isUndoable, undoActionMethods inherited from class io.keikai.ui.impl.undo.AbstractUndoableAction
getLabel, getRedoSelection, getRedoSheet, getUndoSelection, getUndoSheet, isAnyCellProtected, isSheetAvailable, toString
-
Constructor Details
-
ClearCellAction
public ClearCellAction(String label, Sheet sheet, int row, int column, int lastRow, int lastColumn, ClearCellAction.Type type)
-
-
Method Details
-
applyAction
protected void applyAction()- Specified by:
applyActionin classAbstractCellDataStyleAction
-
isSheetProtected
protected boolean isSheetProtected()Description copied from class:AbstractUndoableActionCheck if sheet is protected- Overrides:
isSheetProtectedin classAbstractCellDataStyleAction- Returns:
-