public class HeaderSizeHandler extends AbstractHandler
Modifier and Type | Field and Description |
---|---|
protected HeaderSizeCtrl.HeaderType |
headerType |
Constructor and Description |
---|
HeaderSizeHandler(HeaderSizeCtrl.HeaderType headerType) |
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled(Book book,
Sheet sheet)
get the enabled state of this action
|
protected boolean |
processAction(UserActionContext ctx) |
checkInCornerFreezePanel, checkSelectAllVisibleColumn, checkSelectAllVisibleRow, checkSelectAllVisibleRowColumn, process, showInfoMessage, showProtectMessage, showWarnMessage
protected HeaderSizeCtrl.HeaderType headerType
public HeaderSizeHandler(HeaderSizeCtrl.HeaderType headerType)
protected boolean processAction(UserActionContext ctx)
processAction
in class AbstractHandler
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 selectedCopyright © 2020. All rights reserved.