This defines how to calculate the ranges for a conditional formatting rule, eg which values get a Green Traffic Light icon and which Yellow or Red.
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public ConditionalFormattingThreshold. | |
| public Double | |
| public void | setFormula(String formula)
Sets the formula used to calculate the threshold,
or unsets it if |
| public void | setRangeType(ConditionalFormattingThreshold.
Changes the Range Type used If you change the range type, you need to ensure that the Formula and Value parameters are compatible with it before saving |
| public void |
| getFormula | back to summary |
|---|---|
| public String getFormula() Formula to use to calculate the threshold,
or | |
| getRangeType | back to summary |
|---|---|
| public ConditionalFormattingThreshold. Get the Range Type used | |
| getValue | back to summary |
|---|---|
| public Double getValue() Gets the value used for the threshold, or
| |
| setFormula | back to summary |
|---|---|
| public void setFormula(String formula) Sets the formula used to calculate the threshold,
or unsets it if | |
| setRangeType | back to summary |
|---|---|
| public void setRangeType(ConditionalFormattingThreshold. Changes the Range Type used If you change the range type, you need to ensure that the Formula and Value parameters are compatible with it before saving | |
| setValue | back to summary |
|---|---|
| public void setValue(Double value) Sets the value used for the threshold. If the type is If the type is Use | |
| Modifier and Type | Field and Description |
|---|---|
| public static final ConditionalFormattingThreshold. | FORMULA
Formula result |
| public final int | id
Numeric ID of the type |
| public static final ConditionalFormattingThreshold. | MAX
The maximum value from the range |
| public static final ConditionalFormattingThreshold. | MIN
The minimum value from the range |
| public final String | name
Hides java. |
| public static final ConditionalFormattingThreshold. | NUMBER
Number / Parameter |
| public static final ConditionalFormattingThreshold. | PERCENT
Percent of the way from the mi to the max value in the range |
| public static final ConditionalFormattingThreshold. | PERCENTILE
The minimum value of the cell that is in X percentile of the range |
| public static final ConditionalFormattingThreshold. |
| Modifier and Type | Method and Description |
|---|---|
| public static ConditionalFormattingThreshold. | |
| public static ConditionalFormattingThreshold. | |
| public String | toString()
Overrides java. Returns the name of this enum constant, as contained in the declaration. |
| public static ConditionalFormattingThreshold. | |
| public static ConditionalFormattingThreshold. |
| FORMULA | back to summary |
|---|---|
| public static final ConditionalFormattingThreshold. Formula result | |
| id | back to summary |
|---|---|
| public final int id Numeric ID of the type | |
| MAX | back to summary |
|---|---|
| public static final ConditionalFormattingThreshold. The maximum value from the range | |
| MIN | back to summary |
|---|---|
| public static final ConditionalFormattingThreshold. The minimum value from the range | |
| name | back to summary |
|---|---|
| public final String name Hides java. Name (system) of the type | |
| NUMBER | back to summary |
|---|---|
| public static final ConditionalFormattingThreshold. Number / Parameter | |
| PERCENT | back to summary |
|---|---|
| public static final ConditionalFormattingThreshold. Percent of the way from the mi to the max value in the range | |
| PERCENTILE | back to summary |
|---|---|
| public static final ConditionalFormattingThreshold. The minimum value of the cell that is in X percentile of the range | |
| UNALLOCATED | back to summary |
|---|---|
| public static final ConditionalFormattingThreshold. | |
| RangeType | back to summary |
|---|---|
| private RangeType(int id, String name) | |
| byId | back to summary |
|---|---|
| public static ConditionalFormattingThreshold. | |
| byName | back to summary |
|---|---|
| public static ConditionalFormattingThreshold. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists.
| |
| valueOf | back to summary |
|---|---|
| public static ConditionalFormattingThreshold. | |
| values | back to summary |
|---|---|
| public static ConditionalFormattingThreshold. | |