Package org.apache.poi.ss.formula
Class DataValidationEvaluator.DataValidationContext
java.lang.Object
org.apache.poi.ss.formula.DataValidationEvaluator.DataValidationContext
- Enclosing class:
DataValidationEvaluator
This class organizes and encapsulates all the pieces of information related to a single
data validation configuration for a single cell. It cleanly separates the validation region,
the cells it applies to, the specific cell this instance references, and the validation
configuration and current values if applicable.
-
Constructor Summary
ConstructorsConstructorDescriptionDataValidationContext
(DataValidation dv, DataValidationEvaluator dve, CellRangeAddressBase region, CellReference target) Populate the context with the necessary values. -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
-
Constructor Details
-
DataValidationContext
public DataValidationContext(DataValidation dv, DataValidationEvaluator dve, CellRangeAddressBase region, CellReference target) Populate the context with the necessary values.
-
-
Method Details
-
getValidation
- Returns:
- the dv
-
getEvaluator
- Returns:
- the dve
-
getRegion
- Returns:
- the region
-
getTarget
- Returns:
- the target
-
getOffsetColumns
public int getOffsetColumns() -
getOffsetRows
public int getOffsetRows() -
getSheetIndex
public int getSheetIndex() -
getFormula1
-
getFormula2
-
getOperator
public int getOperator()
-