Class DataValidationImpl

    • Method Detail

      • getId

        public java.lang.String getId()
      • getSheet

        public SSheet getSheet()
      • checkOrphan

        public void checkOrphan()
      • destroy

        public void destroy()
        Description copied from interface: LinkedModelObject
        Destroy / release this model object, for example all the dependency, parent linking. this method has to be called before remove this linking from parent object
      • setIgnoreBlank

        public void setIgnoreBlank​(boolean allowed)
      • isIgnoreBlank

        public boolean isIgnoreBlank()
      • setInCellDropdown

        public void setInCellDropdown​(boolean show)
      • isInCellDropdown

        public boolean isInCellDropdown()
      • setShowInput

        public void setShowInput​(boolean show)
      • isShowInput

        public boolean isShowInput()
      • setShowError

        public void setShowError​(boolean show)
      • isShowError

        public boolean isShowError()
      • setInputTitle

        public void setInputTitle​(java.lang.String title)
      • setInputMessage

        public void setInputMessage​(java.lang.String message)
      • getInputTitle

        public java.lang.String getInputTitle()
      • getInputMessage

        public java.lang.String getInputMessage()
      • setErrorTitle

        public void setErrorTitle​(java.lang.String title)
      • setErrorMessage

        public void setErrorMessage​(java.lang.String text)
      • getErrorTitle

        public java.lang.String getErrorTitle()
      • getErrorMessage

        public java.lang.String getErrorMessage()
      • getRegions

        public java.util.Set<CellRegion> getRegions()
      • addRegion

        public void addRegion​(CellRegion region)
      • removeRegion

        public void removeRegion​(CellRegion region)
      • setRegions

        public void setRegions​(java.util.Set<CellRegion> regions)
      • isFormulaParsingError

        public boolean isFormulaParsingError()
        Description copied from interface: SDataValidation
        Return formula parsing state.
        Returns:
        true if has error, false if no error or no formula
      • getNumOfValue

        public int getNumOfValue()
      • getValue

        public java.lang.Object getValue​(int index)
      • getNumOfValue1

        public int getNumOfValue1()
      • getValue1

        public java.lang.Object getValue1​(int index)
      • getNumOfValue2

        public int getNumOfValue2()
      • getValue2

        public java.lang.Object getValue2​(int index)
      • getFormula1

        public java.lang.String getFormula1()
      • getFormula2

        public java.lang.String getFormula2()
      • setFormula1

        public void setFormula1​(java.lang.String formula1)
      • setFormula2

        public void setFormula2​(java.lang.String formula2)
      • clearFormulaResultCache

        public void clearFormulaResultCache()
        Description copied from interface: FormulaContent
        Clear the formula result cache if there is evaluation result
      • getReferToCellList

        public java.util.List<SCell> getReferToCellList()
      • hasReferToCellList

        public boolean hasReferToCellList()
      • hasReferToRelativeCol

        public boolean hasReferToRelativeCol()
        Description copied from interface: SDataValidation
        Returns whether the referred list formula contains a relative column.
        Returns:
      • hasReferToRelativeRow

        public boolean hasReferToRelativeRow()
        Description copied from interface: SDataValidation
        Returns whether the referred list formula contains a relative row.
        Returns:
      • getReferToCellList

        public java.util.List<SCell> getReferToCellList​(int row,
                                                        int col)
        Description copied from interface: SDataValidation
        Return the referred list relative to the specified row and column.
        Returns: