Class DataValidationHandler

All Implemented Interfaces:
UserActionHandler, Serializable

public class DataValidationHandler extends AbstractCellHandler
Author:
JerryChen
See Also:
  • Constructor Details

    • DataValidationHandler

      public DataValidationHandler()
  • Method Details

    • processAction

      protected boolean processAction(UserActionContext ctx)
      Specified by:
      processAction in class AbstractHandler
    • 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)