Package org.apache.poi.hssf.usermodel
Class HSSFDataValidationHelper
- java.lang.Object
-
- org.apache.poi.hssf.usermodel.HSSFDataValidationHelper
-
- All Implemented Interfaces:
DataValidationHelper
public class HSSFDataValidationHelper extends Object implements DataValidationHelper
Helper for working with Data Validation
-
-
Constructor Summary
Constructors Constructor Description HSSFDataValidationHelper(HSSFSheet sheet)
-
Method Summary
-
-
-
Constructor Detail
-
HSSFDataValidationHelper
public HSSFDataValidationHelper(HSSFSheet sheet)
-
-
Method Detail
-
createDateConstraint
public DataValidationConstraint createDateConstraint(int operatorType, String formula1, String formula2, String dateFormat)
- Specified by:
createDateConstraint
in interfaceDataValidationHelper
-
createExplicitListConstraint
public DataValidationConstraint createExplicitListConstraint(String[] listOfValues)
- Specified by:
createExplicitListConstraint
in interfaceDataValidationHelper
-
createFormulaListConstraint
public DataValidationConstraint createFormulaListConstraint(String listFormula)
- Specified by:
createFormulaListConstraint
in interfaceDataValidationHelper
-
createNumericConstraint
public DataValidationConstraint createNumericConstraint(int validationType, int operatorType, String formula1, String formula2)
- Specified by:
createNumericConstraint
in interfaceDataValidationHelper
-
createIntegerConstraint
public DataValidationConstraint createIntegerConstraint(int operatorType, String formula1, String formula2)
- Specified by:
createIntegerConstraint
in interfaceDataValidationHelper
-
createDecimalConstraint
public DataValidationConstraint createDecimalConstraint(int operatorType, String formula1, String formula2)
- Specified by:
createDecimalConstraint
in interfaceDataValidationHelper
-
createTextLengthConstraint
public DataValidationConstraint createTextLengthConstraint(int operatorType, String formula1, String formula2)
- Specified by:
createTextLengthConstraint
in interfaceDataValidationHelper
-
createTimeConstraint
public DataValidationConstraint createTimeConstraint(int operatorType, String formula1, String formula2)
- Specified by:
createTimeConstraint
in interfaceDataValidationHelper
-
createCustomConstraint
public DataValidationConstraint createCustomConstraint(String formula)
- Specified by:
createCustomConstraint
in interfaceDataValidationHelper
-
createValidation
public DataValidation createValidation(DataValidationConstraint constraint, CellRangeAddressList cellRangeAddressList)
- Specified by:
createValidation
in interfaceDataValidationHelper
-
-