Class AutoFillHandler

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

    public class AutoFillHandler
    extends io.keikai.ui.impl.ua.AbstractCellHandler
    Author:
    dennis
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AutoFillHandler()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isEnabled​(io.keikai.api.model.Book book, io.keikai.api.model.Sheet sheet)
      AutoFill is not disabled under sheet protection.
      protected boolean processAction​(io.keikai.ui.UserActionContext ctx)  
      • Methods inherited from class io.keikai.ui.impl.ua.AbstractHandler

        checkInArrayFormula, checkInCornerFreezePanel, checkSelectAllVisibleColumn, checkSelectAllVisibleRow, checkSelectAllVisibleRowColumn, process, showInfoMessage, showProtectMessage, showWarnMessage
      • Methods inherited from class java.lang.Object

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

      • AutoFillHandler

        public AutoFillHandler()
    • Method Detail

      • processAction

        protected boolean processAction​(io.keikai.ui.UserActionContext ctx)
        Specified by:
        processAction in class io.keikai.ui.impl.ua.AbstractHandler
      • isEnabled

        public boolean isEnabled​(io.keikai.api.model.Book book,
                                 io.keikai.api.model.Sheet sheet)
        AutoFill is not disabled under sheet protection. It performs according to target range locked status.
        Specified by:
        isEnabled in interface io.keikai.ui.UserActionHandler
        Overrides:
        isEnabled in class io.keikai.ui.impl.ua.AbstractCellHandler