Package io.keikai.ui.impl.ua
Class AbstractHandler
java.lang.Object
io.keikai.ui.impl.ua.AbstractHandler
- All Implemented Interfaces:
UserActionHandler,Serializable
- Direct Known Subclasses:
AbstractBookHandler,AbstractCellHandler,AbstractFilterHandler,AbstractObjectHandler,AbstractPasteSpecialHandler,AbstractProtectedHandler,AbstractSheetHandler,AddColumnHandler,AddRowHandler,ClearCellHandler,CustomSortHandler,CutHandler,DeleteColumnHandler,DeleteRowHandler,HeaderSizeHandler,HideHeaderHandler,HyperlinkHandler,InsertColumnHandler,InsertRowHandler,NewBookHandler,PasteHandler,SortHandler
- Since:
- 3.0.0
- Author:
- dennis
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancheckInArrayFormula(Range range) protected booleancheckInCornerFreezePanel(Range range) protected booleanprotected booleanprotected booleanbooleanget the enabled state of this actionbooleanprocess(UserActionContext ctx) Handle the action.protected abstract booleanprotected voidshowInfoMessage(String message) protected voidprotected voidshowWarnMessage(String message)
-
Constructor Details
-
AbstractHandler
public AbstractHandler()
-
-
Method Details
-
isEnabled
Description copied from interface:UserActionHandlerget the enabled state of this action- Specified by:
isEnabledin interfaceUserActionHandler- Parameters:
book- current book, null if no book selectedsheet- current sheet, null if no sheet selected- Returns:
-
showProtectMessage
protected void showProtectMessage() -
showInfoMessage
-
showWarnMessage
-
process
Description copied from interface:UserActionHandlerHandle the action.- Specified by:
processin interfaceUserActionHandler- Returns:
- true if the handler has processed and manager should ignore post process (if there is)
-
checkInCornerFreezePanel
-
checkInArrayFormula
-
checkSelectAllVisibleRow
-
checkSelectAllVisibleColumn
-
checkSelectAllVisibleRowColumn
-
processAction
-