Package io.keikai.ui
Interface UserActionHandler
-
- All Known Implementing Classes:
AbstractBookHandler
,AbstractCellHandler
,AbstractCommentHandler
,AbstractFilterHandler
,AbstractHandler
,AbstractObjectHandler
,AbstractPasteSpecialHandler
,AbstractProtectedHandler
,AbstractSheetHandler
,AddColumnHandler
,AddRowHandler
,AddSheetHandler
,ApplyBorderHandler
,ApplyFilterHandler
,AutoFillHandler
,BackColorHandler
,CleanFilterHandler
,ClearCellHandler
,CloseBookHandler
,CopyHandler
,CopySheetHandler
,CustomFiltersHandler
,CustomSortHandler
,CutHandler
,DataValidationHandler
,DeleteCellLeftHandler
,DeleteCellUpHandler
,DeleteChartHandler
,DeleteColumnHandler
,DeleteCommentHandler
,DeletePictureHandler
,DeleteRowHandler
,DeleteSheetHandler
,DisplayGridlinesAction
,EditCommentHandler
,FillColorHandler
,FontBoldHandler
,FontColorHandler
,FontFamilyHandler
,FontItalicHandler
,FontSizeHandler
,FontStrikeoutHandler
,FontTypeOffsetHandler
,FontUnderlineHandler
,FormatCellHandler
,HeaderSizeHandler
,HideHeaderHandler
,HideSheetHandler
,HorizontalAlignHandler
,HyperlinkHandler
,InsertCellDownHandler
,InsertCellRightHandler
,InsertChartHandler
,InsertColumnHandler
,InsertCommentHandler
,InsertFunctionHandler
,InsertPictureHandler
,InsertRowHandler
,MergeCenterHandler
,MergeHandler
,MoveChartHandler
,MovePictureHandler
,MoveSheetHandler
,NewBookHandler
,NilHandler
,PasteHandler
,PasteSpecialDialogHandler
,PasteSpecialHandler
,ProtectSheetAction
,ReapplyFilterHandler
,RenameSheetHandler
,RichTextEditHandler
,ShiftCellHandler
,SortHandler
,TextIndentHandler
,TextRotationHandler
,Top10FilterHandler
,UnhideSheetHandler
,UnmergeHandler
,VerticalAlignHandler
,WrapTextHandler
public interface UserActionHandler
- Author:
- dennis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isEnabled(Book book, Sheet sheet)
get the enabled state of this actionboolean
process(UserActionContext ctx)
Handle the action.
-
-
-
Method Detail
-
isEnabled
boolean isEnabled(Book book, Sheet sheet)
get the enabled state of this action- Parameters:
book
- current book, null if no book selectedsheet
- current sheet, null if no sheet selected- Returns:
-
process
boolean process(UserActionContext ctx)
Handle the action.- Parameters:
ctx
-- Returns:
- true if the handler has processed and manager should ignore post process (if there is)
-
-