Package org.apache.poi.ss.usermodel
Enum Class ConditionFilterType
- All Implemented Interfaces:
Serializable
,Comparable<ConditionFilterType>
,Constable
Used primarily for XSSF conditions, which defines a multitude of additional "filter" types
for conditional formatting. HSSF rules will always be null (not a filter type) or #FILTER.
XSSF conditions will be null (not a filter type) or any value other than #FILTER.
Instance names match the constants from STCfType
for convenience.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis is the only value valid for HSSF rules -
Method Summary
Modifier and TypeMethodDescriptionstatic ConditionFilterType
Returns the enum constant of this class with the specified name.static ConditionFilterType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FILTER
This is the only value valid for HSSF rules -
TOP_10
-
UNIQUE_VALUES
-
DUPLICATE_VALUES
-
CONTAINS_TEXT
-
NOT_CONTAINS_TEXT
-
BEGINS_WITH
-
ENDS_WITH
-
CONTAINS_BLANKS
-
NOT_CONTAINS_BLANKS
-
CONTAINS_ERRORS
-
NOT_CONTAINS_ERRORS
-
TIME_PERIOD
-
ABOVE_AVERAGE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-