public interface IColorScale
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Deletes this conditional format.
|
void |
fromJson(java.lang.String json)
Generates the conditional format from the json string.
|
IRange |
getAppliesTo()
Returns a Range object that specifies the cell range to which the formatting
rule is applied.
|
IColorScaleCriteria |
getColorScaleCriteria()
Returns a ColorScaleCriteria object, which is a collection of individual
ColorScaleCriterion objects.
|
int |
getPriority()
Returns the priority value of the conditional formatting rule.
|
boolean |
getStopIfTrue()
Returns a Boolean value that determines if additional formatting rules on the
cell should be evaluated if the current rule evaluates to True.
|
FormatConditionType |
getType()
Returns the type of this conditional format.
|
void |
setAppliesTo(IRange value)
Sets a Range object that specifies the cell range to which the formatting
rule is applied.
|
void |
setFirstPriority()
Sets the priority value for this conditional formatting rule to "1" so that
it will be evaluated before all other rules on the worksheet.
|
void |
setLastPriority()
Sets the evaluation order for this conditional formatting rule so it is
evaluated after all other rules on the worksheet.
|
void |
setPriority(int value)
Sets the priority value of the conditional formatting rule.
|
java.lang.String |
toJson()
Generates a json string from the conditional format.
|
IRange getAppliesTo()
void setAppliesTo(IRange value)
IColorScaleCriteria getColorScaleCriteria()
int getPriority()
When setting the priority, the value must be a positive integer between 1 and the total number of conditional formatting rules on the worksheet. The priority must be a unique value for all rules on the worksheet, so changing the priority for the specified conditional formatting rule may cause the priority value of the other rules on the worksheet to be shifted.
void setPriority(int value)
When setting the priority, the value must be a positive integer between 1 and the total number of conditional formatting rules on the worksheet. The priority must be a unique value for all rules on the worksheet, so changing the priority for the specified conditional formatting rule may cause the priority value of the other rules on the worksheet to be shifted.
boolean getStopIfTrue()
FormatConditionType getType()
void delete()
void setFirstPriority()
void setLastPriority()
void fromJson(java.lang.String json)
json - the json stringjava.lang.String toJson()