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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.keikai.model.SDataValidation
SDataValidation.AlertStyle, SDataValidation.OperatorType, SDataValidation.ValidationType
-
-
Constructor Summary
Constructors Constructor Description AbstractDataValidationAdv()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
addDependency(int row, int col)
abstract String
getEscapedFormula1()
abstract String
getEscapedFormula2()
abstract FormulaExpression
getFormulaExpression1()
abstract FormulaExpression
getFormulaExpression2()
abstract ValueEval
getValueEval1()
abstract ValueEval
getValueEval2()
abstract void
setEscapedFormulas(String formula1, String formula2)
Setup the two formulas which are in escaped POI format.abstract void
setFormula1(FormulaExpression formula)
abstract void
setFormula2(FormulaExpression formula)
abstract void
setFormulas(FormulaExpression fe1, FormulaExpression fe2)
abstract void
setFormulas(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, wait
-
Methods inherited from interface io.keikai.model.FormulaContent
clearFormulaResultCache
-
Methods inherited from interface io.keikai.model.impl.LinkedModelObject
checkOrphan, destroy
-
Methods 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
-
-
-
-
Method Detail
-
setFormulas
public abstract void setFormulas(String formula1, String formula2)
Setup the two formulas.- Parameters:
formula1
-formula2
-
-
setFormulas
public abstract void setFormulas(FormulaExpression fe1, FormulaExpression fe2)
- Parameters:
fe1
-fe2
-- Since:
- 3.6.0
-
getFormulaExpression1
public abstract FormulaExpression getFormulaExpression1()
- Returns:
- Since:
- 3.6.0
-
getFormulaExpression2
public abstract FormulaExpression getFormulaExpression2()
- Returns:
- Since:
- 3.6.0
-
setFormula1
public abstract void setFormula1(FormulaExpression formula)
- Parameters:
formula
-- Since:
- 3.6.0
-
setFormula2
public abstract void setFormula2(FormulaExpression formula)
- Parameters:
formula
-- Since:
- 3.6.0
-
getValueEval1
public abstract ValueEval getValueEval1()
- Returns:
- Since:
- 3.6.0
-
getValueEval2
public abstract ValueEval getValueEval2()
- Returns:
- Since:
- 3.6.0
-
addDependency
public abstract void addDependency(int row, int col)
- Parameters:
row
-col
-- Since:
- 3.7.0
-
getEscapedFormula1
public abstract String getEscapedFormula1()
- Returns:
- Since:
- 3.7.0
-
getEscapedFormula2
public abstract String getEscapedFormula2()
- Returns:
- Since:
- 3.7.0
-
-