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
public class ClearCellAction extends AbstractCellDataStyleAction
- Author:
- dennis
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClearCellAction.Type
-
Field Summary
-
Fields inherited from class io.keikai.ui.impl.undo.AbstractCellDataStyleAction
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 ClearCellAction(String label, Sheet sheet, int row, int column, int lastRow, int lastColumn, ClearCellAction.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyAction()
protected boolean
isSheetProtected()
Check if sheet is protected-
Methods inherited from class io.keikai.ui.impl.undo.AbstractCellDataStyleAction
doAction, getReservedColumn, getReservedLastColumn, getReservedLastRow, getReservedRow, getReservedSheet, isRedoable, isUndoable, undoAction
-
Methods inherited from class io.keikai.ui.impl.undo.AbstractUndoableAction
getLabel, getRedoSelection, getRedoSheet, getUndoSelection, getUndoSheet, isAnyCellProtected, isSheetAvailable, toString
-
-
-
-
Constructor Detail
-
ClearCellAction
public ClearCellAction(String label, Sheet sheet, int row, int column, int lastRow, int lastColumn, ClearCellAction.Type type)
-
-
Method Detail
-
applyAction
protected void applyAction()
- Specified by:
applyAction
in classAbstractCellDataStyleAction
-
isSheetProtected
protected boolean isSheetProtected()
Description copied from class:AbstractUndoableAction
Check if sheet is protected- Overrides:
isSheetProtected
in classAbstractCellDataStyleAction
- Returns:
-
-