Package org.apache.poi.ss.format
Class CellFormatResult
- java.lang.Object
-
- org.apache.poi.ss.format.CellFormatResult
-
public class CellFormatResult extends java.lang.ObjectThis object contains the result of applying a cell format or cell format part to a value.
-
-
Field Summary
Fields Modifier and Type Field Description booleanappliesThis istrueif no condition was given that applied to the value, or if the condition is satisfied.java.lang.StringtextThe resulting text.java.awt.ColortextColorThe color the format sets, ornullif the format sets no color.
-
Constructor Summary
Constructors Constructor Description CellFormatResult(boolean applies, java.lang.String text, java.awt.Color textColor)Creates a new format result object.
-
-
-
Field Detail
-
applies
public final boolean applies
This istrueif no condition was given that applied to the value, or if the condition is satisfied. If a condition is relevant, and when applied the value fails the test, this isfalse.
-
text
public final java.lang.String text
The resulting text. This will never benull.
-
textColor
public final java.awt.Color textColor
The color the format sets, ornullif the format sets no color. This will always benullifappliesisfalse.
-
-