Package org.apache.poi.ss.usermodel
Class ConditionType
- java.lang.Object
-
- org.apache.poi.ss.usermodel.ConditionType
-
public class ConditionType extends java.lang.ObjectRepresents a type of a conditional formatting rule
-
-
Field Summary
Fields Modifier and Type Field Description static ConditionTypeCELL_VALUE_ISThis conditional formatting rule compares a cell value to a formula calculated result, using an operatorstatic ConditionTypeCOLOR_SCALEThis conditional formatting rule contains a color scale, with the cell background set according to a gradient.static ConditionTypeDATA_BARThis conditional formatting rule sets a data bar, with the cell populated with bars based on their valuesstatic ConditionTypeFILTERThis conditional formatting rule that files the valuesstatic ConditionTypeFORMULAThis conditional formatting rule contains a formula to evaluate.static ConditionTypeICON_SETThis conditional formatting rule sets a data bar, with the cell populated with bars based on their valuesbyteidjava.lang.Stringtype
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConditionTypeforId(byte id)static ConditionTypeforId(int id)java.lang.StringtoString()
-
-
-
Field Detail
-
CELL_VALUE_IS
public static final ConditionType CELL_VALUE_IS
This conditional formatting rule compares a cell value to a formula calculated result, using an operator
-
FORMULA
public static final ConditionType FORMULA
This conditional formatting rule contains a formula to evaluate. When the formula result is true, the cell is highlighted.
-
COLOR_SCALE
public static final ConditionType COLOR_SCALE
This conditional formatting rule contains a color scale, with the cell background set according to a gradient.
-
DATA_BAR
public static final ConditionType DATA_BAR
This conditional formatting rule sets a data bar, with the cell populated with bars based on their values
-
FILTER
public static final ConditionType FILTER
This conditional formatting rule that files the values
-
ICON_SET
public static final ConditionType ICON_SET
This conditional formatting rule sets a data bar, with the cell populated with bars based on their values
-
id
public final byte id
-
type
public final java.lang.String type
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
forId
public static ConditionType forId(byte id)
-
forId
public static ConditionType forId(int id)
-
-