Class AbstractEditTextAction

    • Constructor Detail

      • AbstractEditTextAction

        public AbstractEditTextAction​(String label,
                                      Sheet sheet,
                                      int row,
                                      int column,
                                      int lastRow,
                                      int lastColumn)
    • Method Detail

      • getReservedSheet

        protected Sheet getReservedSheet()
      • getReservedRow

        protected int getReservedRow()
      • getReservedColumn

        protected int getReservedColumn()
      • getReservedLastRow

        protected int getReservedLastRow()
      • getReservedLastColumn

        protected int getReservedLastColumn()
      • doAction

        public void doAction()
        Description copied from interface: UndoableAction
        do the action, either first time or redo
      • isRangeProtected

        protected boolean isRangeProtected()
      • applyAction

        protected abstract void applyAction()
      • 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