public class DataValidationImpl extends AbstractDataValidationAdv
SDataValidation.AlertStyle, SDataValidation.OperatorType, SDataValidation.ValidationType
Constructor and Description |
---|
DataValidationImpl(AbstractSheetAdv sheet,
AbstractDataValidationAdv copyFrom) |
DataValidationImpl(AbstractSheetAdv sheet,
String id) |
public DataValidationImpl(AbstractSheetAdv sheet, String id)
public DataValidationImpl(AbstractSheetAdv sheet, AbstractDataValidationAdv copyFrom)
public String getId()
public SSheet getSheet()
public void checkOrphan()
public void destroy()
LinkedModelObject
public SDataValidation.AlertStyle getAlertStyle()
public void setAlertStyle(SDataValidation.AlertStyle alertStyle)
public void setIgnoreBlank(boolean allowed)
public boolean isIgnoreBlank()
public void setInCellDropdown(boolean show)
public boolean isInCellDropdown()
public void setShowInput(boolean show)
public boolean isShowInput()
public void setShowError(boolean show)
public boolean isShowError()
public void setInputTitle(String title)
public void setInputMessage(String message)
public String getInputTitle()
public String getInputMessage()
public void setErrorTitle(String title)
public void setErrorMessage(String text)
public String getErrorTitle()
public String getErrorMessage()
public Set<CellRegion> getRegions()
public void addRegion(CellRegion region)
public void removeRegion(CellRegion region)
public void setRegions(Set<CellRegion> regions)
public SDataValidation.ValidationType getValidationType()
public void setValidationType(SDataValidation.ValidationType type)
public SDataValidation.OperatorType getOperatorType()
public void setOperatorType(SDataValidation.OperatorType type)
public boolean isFormulaParsingError()
SDataValidation
public int getNumOfValue()
public Object getValue(int index)
public int getNumOfValue1()
public Object getValue1(int index)
public int getNumOfValue2()
public Object getValue2(int index)
public String getFormula1()
public String getFormula2()
public void setFormula1(String formula1)
public void setFormula2(String formula2)
public void setFormulas(String formula1, String formula2)
AbstractDataValidationAdv
setFormulas
in class AbstractDataValidationAdv
public void setEscapedFormulas(String formula1, String formula2)
AbstractDataValidationAdv
setEscapedFormulas
in class AbstractDataValidationAdv
public void clearFormulaResultCache()
FormulaContent
public boolean hasReferToCellList()
public void setFormulas(FormulaExpression fe1, FormulaExpression fe2)
setFormulas
in class AbstractDataValidationAdv
fe1
- fe2
- public FormulaExpression getFormulaExpression1()
getFormulaExpression1
in class AbstractDataValidationAdv
public FormulaExpression getFormulaExpression2()
getFormulaExpression2
in class AbstractDataValidationAdv
public void setFormula1(FormulaExpression formula1)
setFormula1
in class AbstractDataValidationAdv
formula
- public void setFormula2(FormulaExpression formula2)
setFormula2
in class AbstractDataValidationAdv
formula
- public ValueEval getValueEval1()
getValueEval1
in class AbstractDataValidationAdv
public ValueEval getValueEval2()
getValueEval2
in class AbstractDataValidationAdv
public boolean hasReferToRelativeCol()
SDataValidation
public boolean hasReferToRelativeRow()
SDataValidation
public List<SCell> getReferToCellList(int row, int col)
SDataValidation
public void addDependency(int row, int col)
addDependency
in class AbstractDataValidationAdv
public String getEscapedFormula1()
getEscapedFormula1
in class AbstractDataValidationAdv
public String getEscapedFormula2()
getEscapedFormula2
in class AbstractDataValidationAdv
Copyright © 2020. All rights reserved.