Class ConditionRule

java.lang.Object
chemaxon.formats.documents.jchemoffice.ConditionRule

@PublicAPI public class ConditionRule extends Object
Conditional rule settings to evaluate data entries for conditional formatting
  • Constructor Details

  • Method Details

    • getOperator

      public ConditionalRuleOperators getOperator()
      Get operator of the current rule instance.
      Returns:
      : rule operator
    • setOperator

      public void setOperator(ConditionalRuleOperators operator)
      Set conditional rule operator.
    • getThreashold

      public double getThreashold()
      Get comparison value/threshold of the rule.
      Returns:
      : double value => now the numeric values are supported only
    • setThreshold

      public void setThreshold(double threshold)
      Set the numeric threshold value.
    • getValue

      public String getValue()
      Get comparison value instead of numeric threshold
      Returns:
      String as comparison value
    • setValue

      public void setValue(String value)
      Set generic string value for comparison
      Parameters:
      value - - string
    • toString

      public String toString()
      Overrides:
      toString in class Object