Package com.grapecity.documents.excel
Enum Class ValidationOperator
- All Implemented Interfaces:
Serializable,Comparable<ValidationOperator>,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 ValidationOperatorReturns the enum constant of this class with the specified name.static ValidationOperator[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
-