|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.ss.format.CellFormatResult
public class CellFormatResult
This object contains the result of applying a cell format or cell format part to a value.
CellFormatPart.apply(Object)
,
CellFormat.apply(Object)
Field Summary | |
---|---|
boolean |
applies
This is true if no condition was given that applied to the value, or if the condition is satisfied. |
java.lang.String |
text
The resulting text. |
java.awt.Color |
textColor
The color the format sets, or null if the format sets no color. |
Constructor Summary | |
---|---|
CellFormatResult(boolean applies,
java.lang.String text,
java.awt.Color textColor)
Creates a new format result object. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final boolean applies
public final java.lang.String text
public final java.awt.Color textColor
applies
is false.
Constructor Detail |
---|
public CellFormatResult(boolean applies, java.lang.String text, java.awt.Color textColor) throws java.lang.IllegalArgumentException
applies
- The value for applies
.text
- The value for text
.textColor
- The value for textColor
.
java.lang.IllegalArgumentException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |