public interface DataValidationConstraint
| Modifier and Type | Interface and Description |
|---|---|
static class |
DataValidationConstraint.OperatorType
Condition operator enum
|
static class |
DataValidationConstraint.ValidationType
ValidationType enum
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getExplicitListValues()
If validation type is
DataValidationConstraint.ValidationType.LIST
and formula1 was comma-separated literal values rather than a range or named range,
returns list of literal values. |
String |
getFormula1() |
String |
getFormula2() |
int |
getOperator() |
int |
getValidationType() |
void |
setExplicitListValues(String[] explicitListValues) |
void |
setFormula1(String formula1)
Sets a formula for expression 1.
|
void |
setFormula2(String formula2)
Sets a formula for expression 2.
|
void |
setOperator(int operator)
Sets the comparison operator for this constraint
|
int getValidationType()
DataValidationConstraint.ValidationTypeint getOperator()
DataValidationConstraint.OperatorTypevoid setOperator(int operator)
DataValidationConstraint.OperatorTypeString[] getExplicitListValues()
DataValidationConstraint.ValidationType.LIST
and formula1 was comma-separated literal values rather than a range or named range,
returns list of literal values.
Otherwise returns null.void setExplicitListValues(String[] explicitListValues)
String getFormula1()
nullvoid setFormula1(String formula1)
String getFormula2()
nullvoid setFormula2(String formula2)
Copyright © 2010 - 2020 Adobe. All Rights Reserved