|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.ss.format.CellFormatCondition
public abstract class CellFormatCondition
This object represents a condition in a cell format.
Constructor Summary | |
---|---|
CellFormatCondition()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CellFormatCondition()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |