Package io.keikaiex.ui.impl.ua
Class HideSheetHandler
- java.lang.Object
-
- io.keikai.ui.impl.ua.AbstractHandler
-
- io.keikai.ui.impl.ua.AbstractBookHandler
-
- io.keikaiex.ui.impl.ua.HideSheetHandler
-
- All Implemented Interfaces:
UserActionHandler
,Serializable
public class HideSheetHandler extends AbstractBookHandler
- Since:
- 3.7.0
- Author:
- jerrychen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HideSheetHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
findAvailableCandidate(Book book, int index, int length)
boolean
isEnabled(Book book, Sheet sheet)
get the enabled state of this actionprotected boolean
isHidden(Sheet sheet)
protected boolean
processAction(UserActionContext ctx)
-
Methods inherited from class io.keikai.ui.impl.ua.AbstractHandler
checkInArrayFormula, checkInCornerFreezePanel, checkSelectAllVisibleColumn, checkSelectAllVisibleRow, checkSelectAllVisibleRowColumn, process, showInfoMessage, showProtectMessage, showWarnMessage
-
-
-
-
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 interfaceUserActionHandler
- Overrides:
isEnabled
in classAbstractBookHandler
- Parameters:
book
- current book, null if no book selectedsheet
- current sheet, null if no sheet selected- Returns:
-
processAction
protected boolean processAction(UserActionContext ctx)
- Specified by:
processAction
in classAbstractHandler
-
findAvailableCandidate
protected int findAvailableCandidate(Book book, int index, int length)
-
isHidden
protected boolean isHidden(Sheet sheet)
-
-