Class CellCommentAction

  • All Implemented Interfaces:
    io.keikai.ui.sys.UndoableAction, java.io.Serializable

    public class CellCommentAction
    extends io.keikai.ui.impl.undo.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​(java.lang.String label, io.keikai.api.model.Sheet sheet, int row, int column, int lastRow, int lastColumn, java.lang.String editText)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doAction()  
      boolean isRedoable()  
      protected boolean isSheetProtected()  
      boolean isUndoable()  
      void undoAction()  
      • Methods inherited from class io.keikai.ui.impl.undo.AbstractUndoableAction

        getLabel, getRedoSelection, getRedoSheet, getUndoSelection, getUndoSheet, isAnyCellProtected, isSheetAvailable, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CellCommentAction

        public CellCommentAction​(java.lang.String label,
                                 io.keikai.api.model.Sheet sheet,
                                 int row,
                                 int column,
                                 int lastRow,
                                 int lastColumn,
                                 java.lang.String editText)
    • Method Detail

      • doAction

        public void doAction()
      • isUndoable

        public boolean isUndoable()
      • isRedoable

        public boolean isRedoable()
      • undoAction

        public void undoAction()
      • isSheetProtected

        protected boolean isSheetProtected()
        Overrides:
        isSheetProtected in class io.keikai.ui.impl.undo.AbstractUndoableAction