|
||||||||||
| 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.ValidationTypeint getOperator()
DataValidationConstraint.OperatorTypevoid setOperator(int operator)
DataValidationConstraint.OperatorTypejava.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()
nullvoid setFormula1(java.lang.String formula1)
java.lang.String getFormula2()
nullvoid setFormula2(java.lang.String formula2)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||