Class Abstract2DCellDataStyleAction

    • Field Detail

      • _destSheet

        protected final Sheet _destSheet
      • _destRow

        protected final int _destRow
      • _destColumn

        protected final int _destColumn
      • _destLastRow

        protected final int _destLastRow
      • _destLastColumn

        protected final int _destLastColumn
      • _destWholeColumn

        protected final boolean _destWholeColumn
      • _destWholeRow

        protected final boolean _destWholeRow
    • Constructor Detail

      • Abstract2DCellDataStyleAction

        public Abstract2DCellDataStyleAction​(String label,
                                             Sheet sheet,
                                             int srcRow,
                                             int srcColumn,
                                             int srcLastRow,
                                             int srcLastColumn,
                                             boolean srcWholeColumn,
                                             boolean srcWholeRow,
                                             Sheet destSheet,
                                             int destRow,
                                             int destColumn,
                                             int destLastRow,
                                             int destLastColumn,
                                             boolean destWholeColumn,
                                             boolean destWholeRow,
                                             int reserveType)
      • Abstract2DCellDataStyleAction

        public Abstract2DCellDataStyleAction​(String label,
                                             Sheet sheet,
                                             int srcRow,
                                             int srcColumn,
                                             int srcLastRow,
                                             int srcLastColumn,
                                             Sheet destSheet,
                                             int destRow,
                                             int destColumn,
                                             int destLastRow,
                                             int destLastColumn,
                                             int reserveType)
    • Method Detail

      • isSrcSheetProtected

        protected boolean isSrcSheetProtected()
      • isDstSheetProtected

        protected boolean isDstSheetProtected()
      • getReservedSrcRow

        protected int getReservedSrcRow()
      • getReservedSrcColumn

        protected int getReservedSrcColumn()
      • getReservedSrcLastRow

        protected int getReservedSrcLastRow()
      • getReservedSrcLastColumn

        protected int getReservedSrcLastColumn()
      • getReservedSrcSheet

        protected Sheet getReservedSrcSheet()
      • getReservedDestRow

        protected int getReservedDestRow()
      • getReservedDestColumn

        protected int getReservedDestColumn()
      • getReservedDestLastRow

        protected int getReservedDestLastRow()
      • getReservedDestLastColumn

        protected int getReservedDestLastColumn()
      • getReservedDestSheet

        protected Sheet getReservedDestSheet()
      • doAction

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

        protected 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