Package org.apache.poi.ss.format
Class CellFormatResult
java.lang.Object
org.apache.poi.ss.format.CellFormatResult
This object contains the result of applying a cell format or cell format part
to a value.
- Author:
- Ken Arnold, Industrious Media LLC
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCellFormatResult(boolean applies, String text, Color textColor) Creates a new format result object. -
Method Summary
-
Field Details
-
applies
public final boolean appliesThis is true if 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 is false. -
text
The resulting text. This will never be null. -
textColor
The color the format sets, or null if the format sets no color. This will always be null ifappliesis false.
-
-
Constructor Details
-
CellFormatResult
public CellFormatResult(boolean applies, String text, Color textColor) throws IllegalArgumentException Creates a new format result object.- Parameters:
applies- The value forapplies.text- The value fortext.textColor- The value fortextColor.- Throws:
IllegalArgumentException
-