|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataValidationConstraint
Nested Class Summary | |
---|---|
static class |
DataValidationConstraint.OperatorType
Condition operator enum |
static class |
DataValidationConstraint.ValidationType
ValidationType enum |
Method Summary | |
---|---|
java.lang.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. |
java.lang.String |
getFormula1()
|
java.lang.String |
getFormula2()
|
int |
getOperator()
|
int |
getValidationType()
|
void |
setExplicitListValues(java.lang.String[] explicitListValues)
|
void |
setFormula1(java.lang.String formula1)
Sets a formula for expression 1. |
void |
setFormula2(java.lang.String formula2)
Sets a formula for expression 2. |
void |
setOperator(int operator)
Sets the comparison operator for this constraint |
Method Detail |
---|
int getValidationType()
DataValidationConstraint.ValidationType
int getOperator()
DataValidationConstraint.OperatorType
void setOperator(int operator)
DataValidationConstraint.OperatorType
java.lang.String[] 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(java.lang.String[] explicitListValues)
java.lang.String getFormula1()
null
void setFormula1(java.lang.String formula1)
java.lang.String getFormula2()
null
void setFormula2(java.lang.String formula2)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |