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
public class DataValidationHandler extends AbstractCellHandler
- Author:
- JerryChen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataValidationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isOverlapped(Range range)
Detect if current selection has two validation or 1 validation with any empty cellsprotected boolean
processAction(UserActionContext ctx)
protected void
showValidationDialog(UserActionContext ctx, Sheet sheet, AreaRef selection, List<Validation> validations)
protected void
validTableTotalRows(Range range)
-
Methods inherited from class io.keikai.ui.impl.ua.AbstractCellHandler
isEnabled
-
Methods inherited from class io.keikai.ui.impl.ua.AbstractHandler
checkInArrayFormula, checkInCornerFreezePanel, checkSelectAllVisibleColumn, checkSelectAllVisibleRow, checkSelectAllVisibleRowColumn, process, showInfoMessage, showProtectMessage, showWarnMessage
-
-
-
-
Method Detail
-
processAction
protected boolean processAction(UserActionContext ctx)
- Specified by:
processAction
in classAbstractHandler
-
validTableTotalRows
protected void validTableTotalRows(Range range)
-
isOverlapped
protected boolean isOverlapped(Range range)
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)
-
-