public abstract class CellFormatCondition
extends java.lang.Object
| Constructor and Description |
|---|
CellFormatCondition() |
| Modifier and Type | Method and Description |
|---|---|
static CellFormatCondition |
getInstance(java.lang.String opString,
java.lang.String constStr)
Returns an instance of a condition object.
|
abstract boolean |
pass(double value)
Returns true if the given value passes the constraint's test.
|
public static CellFormatCondition getInstance(java.lang.String opString, java.lang.String constStr)
opString - The operator as a string. One of "<",
"<=", ">", ">=",
"=", "==", "!=", or
"<>".constStr - The constant (such as "12").public abstract boolean pass(double value)
value - The value to compare against.Copyright 2021 The Apache Software Foundation or its licensors, as applicable.