Package io.keikaiex.ui.impl.undo
Class CellCommentAction
- java.lang.Object
-
- io.keikai.ui.impl.undo.AbstractUndoableAction
-
- io.keikaiex.ui.impl.undo.CellCommentAction
-
- All Implemented Interfaces:
UndoableAction
,Serializable
public class CellCommentAction extends AbstractUndoableAction
- Since:
- 3.7.0
- Author:
- JerryChen
- 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 CellCommentAction(String label, Sheet sheet, int row, int column, int lastRow, int lastColumn, String editText)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doAction()
do the action, either first time or redoboolean
isRedoable()
Check if still redoable or notprotected boolean
isSheetProtected()
Check if sheet is protectedboolean
isUndoable()
Check if still undoable or notvoid
undoAction()
Undo the action-
Methods inherited from class io.keikai.ui.impl.undo.AbstractUndoableAction
getLabel, getRedoSelection, getRedoSheet, getUndoSelection, getUndoSheet, isAnyCellProtected, isSheetAvailable, toString
-
-
-
-
Method Detail
-
doAction
public void doAction()
Description copied from interface:UndoableAction
do the action, either first time or redo
-
isUndoable
public boolean isUndoable()
Description copied from interface:UndoableAction
Check if still undoable or not- Returns:
-
isRedoable
public boolean isRedoable()
Description copied from interface:UndoableAction
Check if still redoable or not- Returns:
-
undoAction
public void undoAction()
Description copied from interface:UndoableAction
Undo the action
-
isSheetProtected
protected boolean isSheetProtected()
Description copied from class:AbstractUndoableAction
Check if sheet is protected- Overrides:
isSheetProtected
in classAbstractUndoableAction
- Returns:
-
-