public abstract class CellFormatCondition extends Object
| Constructor and Description |
|---|
CellFormatCondition() |
| Modifier and Type | Method and Description |
|---|---|
static CellFormatCondition |
getInstance(String opString,
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(String opString, 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 © 2020. All rights reserved.