Class AbstractHandler

    • Constructor Detail

      • AbstractHandler

        public AbstractHandler()
    • Method Detail

      • isEnabled

        public boolean isEnabled​(Book book,
                                 Sheet sheet)
        Description copied from interface: UserActionHandler
        get the enabled state of this action
        Specified by:
        isEnabled in interface UserActionHandler
        Parameters:
        book - current book, null if no book selected
        sheet - current sheet, null if no sheet selected
        Returns:
      • showProtectMessage

        protected void showProtectMessage()
      • showInfoMessage

        protected void showInfoMessage​(String message)
      • showWarnMessage

        protected void showWarnMessage​(String message)
      • checkInCornerFreezePanel

        protected boolean checkInCornerFreezePanel​(Range range)
      • checkInArrayFormula

        protected boolean checkInArrayFormula​(Range range)
      • checkSelectAllVisibleRow

        protected boolean checkSelectAllVisibleRow​(UserActionContext ctx)
      • checkSelectAllVisibleColumn

        protected boolean checkSelectAllVisibleColumn​(UserActionContext ctx)
      • checkSelectAllVisibleRowColumn

        protected boolean checkSelectAllVisibleRowColumn​(UserActionContext ctx)
      • processAction

        protected abstract boolean processAction​(UserActionContext ctx)