Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.poi.xssf.usermodel
Class XSSFDataValidationConstraint

    java.lang.Object
      org.apache.poi.xssf.usermodel.XSSFDataValidationConstraint

All Implemented Interfaces:
  org.apache.poi.ss.usermodel.DataValidationConstraint

    public class XSSFDataValidationConstraint

extends java.lang.Object
implements org.apache.poi.ss.usermodel.DataValidationConstraint

Author:
  Radhakrishnan J

Nested Class Summary

Nested classes/interfaces inherited from interface org.apache.poi.ss.usermodel.DataValidationConstraint
`org.apache.poi.ss.usermodel.DataValidationConstraint.OperatorType, org.apache.poi.ss.usermodel.DataValidationConstraint.ValidationType`

Constructor Summary
`XSSFDataValidationConstraint(int validationType, int operator, java.lang.String formula1)`
`XSSFDataValidationConstraint(int validationType, int operator, java.lang.String formula1, java.lang.String formula2)`
`XSSFDataValidationConstraint(int validationType, java.lang.String formula1)`
`XSSFDataValidationConstraint(java.lang.String[] explicitListOfValues)`

Method Summary
`java.lang.String[]` | `getExplicitListValues()`
`java.lang.String` | `getFormula1()`
`java.lang.String` | `getFormula2()`
`int` | `getOperator()`
`int` | `getValidationType()`
`java.lang.String` | `prettyPrint()`
`void` | `setExplicitListValues(java.lang.String[] explicitListValues)`
`void` | `setFormula1(java.lang.String formula1)`
`void` | `setFormula2(java.lang.String formula2)`
`void` | `setOperator(int operator)`
`void` | `validate()`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### XSSFDataValidationConstraint

    public XSSFDataValidationConstraint(java.lang.String[] explicitListOfValues)

### XSSFDataValidationConstraint

    public XSSFDataValidationConstraint(int validationType,
                                        java.lang.String formula1)

### XSSFDataValidationConstraint

    public XSSFDataValidationConstraint(int validationType,
                                        int operator,
                                        java.lang.String formula1)

### XSSFDataValidationConstraint

    public XSSFDataValidationConstraint(int validationType,
                                        int operator,
                                        java.lang.String formula1,
                                        java.lang.String formula2)

Method Detail

### getExplicitListValues

    public java.lang.String[] getExplicitListValues()

  Specified by:
    `getExplicitListValues` in interface `org.apache.poi.ss.usermodel.DataValidationConstraint`

### getFormula1

    public java.lang.String getFormula1()

  Specified by:
    `getFormula1` in interface `org.apache.poi.ss.usermodel.DataValidationConstraint`

### getFormula2

    public java.lang.String getFormula2()

  Specified by:
    `getFormula2` in interface `org.apache.poi.ss.usermodel.DataValidationConstraint`

### getOperator

    public int getOperator()

  Specified by:
    `getOperator` in interface `org.apache.poi.ss.usermodel.DataValidationConstraint`

### getValidationType

    public int getValidationType()

  Specified by:
    `getValidationType` in interface `org.apache.poi.ss.usermodel.DataValidationConstraint`

### setExplicitListValues

    public void setExplicitListValues(java.lang.String[] explicitListValues)

  Specified by:
    `setExplicitListValues` in interface `org.apache.poi.ss.usermodel.DataValidationConstraint`

### setFormula1

    public void setFormula1(java.lang.String formula1)

  Specified by:
    `setFormula1` in interface `org.apache.poi.ss.usermodel.DataValidationConstraint`

### setFormula2

    public void setFormula2(java.lang.String formula2)

  Specified by:
    `setFormula2` in interface `org.apache.poi.ss.usermodel.DataValidationConstraint`

### setOperator

    public void setOperator(int operator)

  Specified by:
    `setOperator` in interface `org.apache.poi.ss.usermodel.DataValidationConstraint`

### validate

    public void validate()

### prettyPrint

    public java.lang.String prettyPrint()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD