public static enum ConditionalFormattingThreshold.RangeType extends java.lang.Enum<ConditionalFormattingThreshold.RangeType>
Enum Constant and Description |
---|
FORMULA
Formula result
|
MAX
The maximum value from the range
|
MIN
The minimum value from the range
|
NUMBER
Number / Parameter
|
PERCENT
Percent of the way from the mi to the max value in the range
|
PERCENTILE
The minimum value of the cell that is in X percentile of the range
|
UNALLOCATED |
Modifier and Type | Field and Description |
---|---|
int |
id
Numeric ID of the type
(类型的数字 ID)
|
java.lang.String |
name
Name (system) of the type
(类型的名称(系统))
|
Modifier and Type | Method and Description |
---|---|
static ConditionalFormattingThreshold.RangeType |
byId(int id) |
static ConditionalFormattingThreshold.RangeType |
byName(java.lang.String name) |
java.lang.String |
toString() |
static ConditionalFormattingThreshold.RangeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
(返回具有指定名称的此类型的枚举常量。)
|
static ConditionalFormattingThreshold.RangeType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
(按照声明的顺序返回包含此枚举类型常量的数组。)
|
public static final ConditionalFormattingThreshold.RangeType NUMBER
public static final ConditionalFormattingThreshold.RangeType MIN
public static final ConditionalFormattingThreshold.RangeType MAX
public static final ConditionalFormattingThreshold.RangeType PERCENT
public static final ConditionalFormattingThreshold.RangeType PERCENTILE
public static final ConditionalFormattingThreshold.RangeType UNALLOCATED
public static final ConditionalFormattingThreshold.RangeType FORMULA
public final int id
public final java.lang.String name
public static ConditionalFormattingThreshold.RangeType[] values()
for (ConditionalFormattingThreshold.RangeType c : ConditionalFormattingThreshold.RangeType.values()) System.out.println(c);(按照声明的顺序返回包含此枚举类型常量的数组。此方法可用于迭代常量,如下所示: for (ConditionalFormattingThreshold.RangeType c : ConditionalFormattingThreshold.RangeType.values()) System.out.println(c);)
public static ConditionalFormattingThreshold.RangeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
(name - 要返回的枚举常量的名称。)
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified name
(java.lang.IllegalArgumentException - 如果此枚举类型没有具有指定名称的常量)
java.lang.NullPointerException
- if the argument is null
(java.lang.NullPointerException - 如果参数为空)
public java.lang.String toString()
toString
in class
java.lang.Enum<ConditionalFormattingThreshold.RangeType>
public static ConditionalFormattingThreshold.RangeType byId(int id)
public static ConditionalFormattingThreshold.RangeType byName(java.lang.String name)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.