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.
com.aspose.cells.ColorgetMaxColor()
void
setMaxColor(com.aspose.cells.Colorvalue)
           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.
com.aspose.cells.ColorgetMidColor()
void
setMidColor(com.aspose.cells.Colorvalue)
           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.
com.aspose.cells.ColorgetMinColor()
void
setMinColor(com.aspose.cells.Colorvalue)
           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 com.aspose.cells.Color getMinColor() / public void setMinColor(com.aspose.cells.Color value)
        
        Get or set the min value object's corresponding color.
      • getMidColor/setMidColor

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

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

    setIs3ColorScale

    public voidsetIs3ColorScale(booleanvalue)
    
    Indicates whether conditional formatting is 3 color scale.

    setMinColor

    public voidsetMinColor(com.aspose.cells.Colorvalue)
    
    Get or set the min value object's corresponding color.

    setMidColor

    public voidsetMidColor(com.aspose.cells.Colorvalue)
    
    Get or set the mid value object's corresponding color.

    setMaxColor

    public voidsetMaxColor(com.aspose.cells.Colorvalue)
    
    Get or set the max value object's corresponding color.