Package io.keikaiex.ui.impl.ua
Class DataValidationHandler
java.lang.Object
io.keikai.ui.impl.ua.AbstractHandler
io.keikai.ui.impl.ua.AbstractCellHandler
io.keikaiex.ui.impl.ua.DataValidationHandler
- All Implemented Interfaces:
UserActionHandler,Serializable
- Author:
- JerryChen
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisOverlapped(Range range) Detect if current selection has two validation or 1 validation with any empty cellsprotected booleanprotected voidshowValidationDialog(UserActionContext ctx, Sheet sheet, AreaRef selection, List<Validation> validations) protected voidvalidTableTotalRows(Range range) Methods inherited from class io.keikai.ui.impl.ua.AbstractCellHandler
isEnabledMethods inherited from class io.keikai.ui.impl.ua.AbstractHandler
checkInArrayFormula, checkInCornerFreezePanel, checkSelectAllVisibleColumn, checkSelectAllVisibleRow, checkSelectAllVisibleRowColumn, process, showInfoMessage, showProtectMessage, showWarnMessage
-
Constructor Details
-
DataValidationHandler
public DataValidationHandler()
-
-
Method Details
-
processAction
- Specified by:
processActionin classAbstractHandler
-
validTableTotalRows
-
isOverlapped
Detect if current selection has two validation or 1 validation with any empty cells- Returns:
- true means current selection includes two or more validations, or 1 validation with empty cells.
-
showValidationDialog
protected void showValidationDialog(UserActionContext ctx, Sheet sheet, AreaRef selection, List<Validation> validations)
-