Package com.grapecity.documents.excel
Enum Class FormatConditionOperator
- All Implemented Interfaces:
Serializable,Comparable<FormatConditionOperator>,Constable
指定用于将公式与单元格中的值进行比较的操作符,对于Between和NotBetween,用于比较两个公式。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription指定用于比较两个值之间。仅在提供两个公式时可用。指定值相等。指定值大于条件。指定值大于或等于条件。指定值小于条件。指定值小于或等于条件。没有操作符。指定检查值是否不在条件之间。只有在提供两个公式时才能使用。指定值不相等。 -
Method Summary
Modifier and TypeMethodDescriptionstatic FormatConditionOperatorReturns the enum constant of this class with the specified name.static FormatConditionOperator[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
None
没有操作符。 -
Between
指定用于比较两个值之间。仅在提供两个公式时可用。 -
NotBetween
指定检查值是否不在条件之间。只有在提供两个公式时才能使用。 -
Equal
指定值相等。 -
NotEqual
指定值不相等。 -
Greater
指定值大于条件。 -
Less
指定值小于条件。 -
GreaterEqual
指定值大于或等于条件。 -
LessEqual
指定值小于或等于条件。
-
-
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
-