Uses of Class
io.keikai.axyra.sheets.content.Validation
Packages that use Validation
Package
Description
Public Java API for the Axyra Sheets engine.
The objects a workbook or sheet holds besides cell values: charts, tables,
data validations, conditional formats, comments, hyperlinks, sparklines,
form controls, slicers, timelines, external links, embedded objects and
more.
-
Uses of Validation in io.keikai.axyra.sheets
Methods in io.keikai.axyra.sheets that return types with arguments of type ValidationModifier and TypeMethodDescriptionSheet.validations()Returns every data-validation rule on this sheet, in stored order.Methods in io.keikai.axyra.sheets with parameters of type ValidationModifier and TypeMethodDescriptionvoidRange.setValidation(Validation validation) Adds a data-validation rule over this rectangle. -
Uses of Validation in io.keikai.axyra.sheets.content
Methods in io.keikai.axyra.sheets.content that return ValidationModifier and TypeMethodDescriptionValidation.Builder.build()The immutable rule.static ValidationA custom-formula constraint: an entry is valid when the formula returns TRUE.static ValidationA date constraint, for exampledate("between", "DATE(2020,1,1)", "DATE(2020,12,31)").static ValidationA decimal-number constraint, for exampledecimal("greaterThan", "0", null).static ValidationBuilds a rule from the engine's JSON, the form behindSheet.validations().static ValidationA drop-down list of the given allowed values, with its in-cell arrow shown.static ValidationValidation.textLength(String operator, String formula1, String formula2) A text-length constraint on the number of characters, for exampletextLength("lessThanOrEqual", "50", null).static ValidationA time constraint, for exampletime("between", "TIME(9,0,0)", "TIME(17,0,0)").static ValidationValidation.wholeNumber(String operator, String formula1, String formula2) A whole-number constraint, for examplewholeNumber("between", "1", "10").