Top Description Fields Constructors Methods
org.apache.poi.ss.usermodel

public Class ConditionType

extends Object
Class Inheritance
Imports
java.util.HashMap, .Map

Represents a type of a conditional formatting rule

Field Summary

Modifier and TypeField and Description
public static final ConditionType
CELL_VALUE_IS

This conditional formatting rule compares a cell value to a formula calculated result, using an operator

public static final ConditionType
COLOR_SCALE

This conditional formatting rule contains a color scale, with the cell background set according to a gradient.

public static final ConditionType
DATA_BAR

This conditional formatting rule sets a data bar, with the cell populated with bars based on their values

public static final ConditionType
FILTER

This conditional formatting rule that files the values

public static final ConditionType
FORMULA

This conditional formatting rule contains a formula to evaluate.

public static final ConditionType
ICON_SET

This conditional formatting rule sets a data bar, with the cell populated with bars based on their values

public final byte
private static Map<Integer, ConditionType>
public final String

Constructor Summary

AccessConstructor and Description
private
ConditionType(int id, String type)

Method Summary

Modifier and TypeMethod and Description
public static ConditionType
forId(byte id)

public static ConditionType
forId(int id)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

CELL_VALUE_ISback to summary
public static final ConditionType CELL_VALUE_IS

This conditional formatting rule compares a cell value to a formula calculated result, using an operator

COLOR_SCALEback to summary
public static final ConditionType COLOR_SCALE

This conditional formatting rule contains a color scale, with the cell background set according to a gradient.

DATA_BARback to summary
public static final ConditionType DATA_BAR

This conditional formatting rule sets a data bar, with the cell populated with bars based on their values

FILTERback to summary
public static final ConditionType FILTER

This conditional formatting rule that files the values

FORMULAback to summary
public static final ConditionType FORMULA

This conditional formatting rule contains a formula to evaluate. When the formula result is true, the cell is highlighted.

ICON_SETback to summary
public static final ConditionType ICON_SET

This conditional formatting rule sets a data bar, with the cell populated with bars based on their values

idback to summary
public final byte id
lookupback to summary
private static Map<Integer, ConditionType> lookup
typeback to summary
public final String type

Constructor Detail

ConditionTypeback to summary
private ConditionType(int id, String type)

Method Detail

forIdback to summary
public static ConditionType forId(byte id)
forIdback to summary
public static ConditionType forId(int id)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object