public final class ColorScaleCondition extends FormatCondition
Modifier and Type | Method and Description |
---|---|
FormatConditionType |
getConditionType()
Gets the
FormatConditionType.COLOR_SCALE value. |
ConditionalColor |
getMaximum()
Gets the maximum color point.
|
ConditionalColor |
getMidpoint()
Gets the midpoint color point or
null if conditional formatting rule is '2-Color Scale'. |
ConditionalColor |
getMinimum()
Gets the minimum color point.
|
String |
toString()
Returns a
String that represents this ColorScaleCondition instance. |
getRule
public FormatConditionType getConditionType()
FormatConditionType.COLOR_SCALE
value.getConditionType
in class FormatCondition
FormatConditionType.COLOR_SCALE
value.public ConditionalColor getMaximum()
public ConditionalColor getMidpoint()
null
if conditional formatting rule is '2-Color Scale'.null
if conditional formatting rule is '2-Color Scale'.public ConditionalColor getMinimum()
public String toString()
String
that represents this ColorScaleCondition
instance.
This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).
toString
in class FormatCondition
String
that represents this ColorScaleCondition
instance.© GemBox Ltd. — All rights reserved.