public abstract class AbstractBookHandler extends AbstractHandler
Constructor and Description |
---|
AbstractBookHandler() |
Modifier and Type | Method and Description |
---|---|
protected SAutoFilter |
getAutoFilter(UserActionContext context)
get auto filter of a table at the selection first, then a sheet's auto filter
|
boolean |
isEnabled(Book book,
Sheet sheet)
get the enabled state of this action
|
checkInCornerFreezePanel, checkSelectAllVisibleColumn, checkSelectAllVisibleRow, checkSelectAllVisibleRowColumn, process, processAction, showInfoMessage, showProtectMessage, showWarnMessage
public boolean isEnabled(Book book, Sheet sheet)
UserActionHandler
isEnabled
in interface UserActionHandler
isEnabled
in class AbstractHandler
book
- current book, null if no book selectedsheet
- current sheet, null if no sheet selectedprotected SAutoFilter getAutoFilter(UserActionContext context)
Copyright © 2020. All rights reserved.