com.aspose.cells

Class ColorScale

  • java.lang.Object
    • com.aspose.cells.ColorScale
public class ColorScale 
extends java.lang.Object

Describe the ColorScale conditional formatting rule. This conditional formatting rule creates a gradated color scale on the cells.

Property Getters/Setters Summary
booleangetIs3ColorScale()
void
setIs3ColorScale(booleanvalue)
           Indicates whether conditional formatting is 3 color scale.
ConditionalFormattingValuegetMaxCfvo()
Get or set this ColorScale's max value object. Cannot set null or CFValueObject with type FormatConditionValueType.Min to it.
ColorgetMaxColor()
void
           Get or set the max value object's corresponding color.
ConditionalFormattingValuegetMidCfvo()
Get or set this ColorScale's mid value object. Cannot set CFValueObject with type FormatConditionValueType.Max or FormatConditionValueType.Min to it.
ColorgetMidColor()
void
           Get or set the mid value object's corresponding color.
ConditionalFormattingValuegetMinCfvo()
Get or set this ColorScale's min value object. Cannot set null or CFValueObject with type FormatConditionValueType.Max to it.
ColorgetMinColor()
void
           Get or set the min value object's corresponding color.
 

    • Property Getters/Setters Detail

      • getIs3ColorScale/setIs3ColorScale

        public boolean getIs3ColorScale() / public void setIs3ColorScale(boolean value)
        
        Indicates whether conditional formatting is 3 color scale.
      • getMinCfvo

        public ConditionalFormattingValue getMinCfvo()
        
        Get or set this ColorScale's min value object. Cannot set null or CFValueObject with type FormatConditionValueType.Max to it.
      • getMidCfvo

        public ConditionalFormattingValue getMidCfvo()
        
        Get or set this ColorScale's mid value object. Cannot set CFValueObject with type FormatConditionValueType.Max or FormatConditionValueType.Min to it.
      • getMaxCfvo

        public ConditionalFormattingValue getMaxCfvo()
        
        Get or set this ColorScale's max value object. Cannot set null or CFValueObject with type FormatConditionValueType.Min to it.
      • getMinColor/setMinColor

        public Color getMinColor() / public void setMinColor(Color value)
        
        Get or set the min value object's corresponding color.
      • getMidColor/setMidColor

        public Color getMidColor() / public void setMidColor(Color value)
        
        Get or set the mid value object's corresponding color.
      • getMaxColor/setMaxColor

        public Color getMaxColor() / public void setMaxColor(Color value)
        
        Get or set the max value object's corresponding color.