Package io.keikai.model.impl
Class AbstractDataValidationAdv
java.lang.Object
io.keikai.model.impl.AbstractDataValidationAdv
- All Implemented Interfaces:
FormulaContent,LinkedModelObject,SDataValidation,Serializable
- Direct Known Subclasses:
DataValidationImpl
public abstract class AbstractDataValidationAdv
extends Object
implements SDataValidation, LinkedModelObject, Serializable
- Since:
- 3.5.0
- Author:
- Dennis
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.keikai.model.SDataValidation
SDataValidation.AlertStyle, SDataValidation.OperatorType, SDataValidation.ValidationType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidaddDependency(int row, int col) abstract Stringabstract Stringabstract FormulaExpressionabstract FormulaExpressionabstract org.apache.poi.ss.formula.eval.ValueEvalabstract org.apache.poi.ss.formula.eval.ValueEvalabstract voidsetEscapedFormulas(String formula1, String formula2) Setup the two formulas which are in escaped POI format.abstract voidsetFormula1(FormulaExpression formula) abstract voidsetFormula2(FormulaExpression formula) abstract voidsetFormulas(FormulaExpression fe1, FormulaExpression fe2) abstract voidsetFormulas(String formula1, String formula2) Setup the two formulas.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.keikai.model.FormulaContent
clearFormulaResultCacheMethods inherited from interface io.keikai.model.impl.LinkedModelObject
checkOrphan, destroyMethods inherited from interface io.keikai.model.SDataValidation
addRegion, getAlertStyle, getErrorMessage, getErrorTitle, getFormula1, getFormula2, getId, getInputMessage, getInputTitle, getNumOfValue, getNumOfValue1, getNumOfValue2, getOperatorType, getReferToCellList, getReferToCellList, getRegions, getSheet, getValidationType, getValue, getValue1, getValue2, hasReferToCellList, hasReferToRelativeCol, hasReferToRelativeRow, isFormulaParsingError, isIgnoreBlank, isInCellDropdown, isShowError, isShowInput, removeRegion, setAlertStyle, setErrorMessage, setErrorTitle, setFormula1, setFormula2, setIgnoreBlank, setInCellDropdown, setInputMessage, setInputTitle, setOperatorType, setRegions, setShowError, setShowInput, setValidationType
-
Constructor Details
-
AbstractDataValidationAdv
public AbstractDataValidationAdv()
-
-
Method Details
-
setFormulas
Setup the two formulas.- Parameters:
formula1-formula2-
-
setFormulas
- Parameters:
fe1-fe2-- Since:
- 3.6.0
-
getFormulaExpression1
- Returns:
- Since:
- 3.6.0
-
getFormulaExpression2
- Returns:
- Since:
- 3.6.0
-
setFormula1
- Parameters:
formula-- Since:
- 3.6.0
-
setFormula2
- Parameters:
formula-- Since:
- 3.6.0
-
getValueEval1
public abstract org.apache.poi.ss.formula.eval.ValueEval getValueEval1()- Returns:
- Since:
- 3.6.0
-
getValueEval2
public abstract org.apache.poi.ss.formula.eval.ValueEval getValueEval2()- Returns:
- Since:
- 3.6.0
-
addDependency
public abstract void addDependency(int row, int col) - Parameters:
row-col-- Since:
- 3.7.0
-
getEscapedFormula1
- Returns:
- Since:
- 3.7.0
-
getEscapedFormula2
- Returns:
- Since:
- 3.7.0
-
setEscapedFormulas
Setup the two formulas which are in escaped POI format.- Parameters:
formula1-formula2-
-