public class HideSheetHandler extends AbstractBookHandler
Constructor and Description |
---|
HideSheetHandler() |
Modifier and Type | Method and Description |
---|---|
protected int |
findAvailableCandidate(Book book,
int index,
int length) |
boolean |
isEnabled(Book book,
Sheet sheet)
get the enabled state of this action
|
protected boolean |
isHidden(Sheet sheet) |
protected boolean |
processAction(UserActionContext ctx) |
getAutoFilter
checkInCornerFreezePanel, checkSelectAllVisibleColumn, checkSelectAllVisibleRow, checkSelectAllVisibleRowColumn, process, showInfoMessage, showProtectMessage, showWarnMessage
public boolean isEnabled(Book book, Sheet sheet)
UserActionHandler
isEnabled
in interface UserActionHandler
isEnabled
in class AbstractBookHandler
book
- current book, null if no book selectedsheet
- current sheet, null if no sheet selectedprotected boolean processAction(UserActionContext ctx)
processAction
in class AbstractHandler
protected int findAvailableCandidate(Book book, int index, int length)
protected boolean isHidden(Sheet sheet)
Copyright © 2020. All rights reserved.