com.aspose.cells

Class NegativeBarFormat

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

Represents the color settings of the data bars for negative values that are defined by a data bar conditional formating rule.

Property Getters/Setters Summary
com.aspose.cells.ColorgetBorderColor()
void
setBorderColor(com.aspose.cells.Colorvalue)
           Gets or sets a FormatColor object that you can use to specify the border color for negative data bars.
intgetBorderColorType()
void
           Gets whether to use the same border color as positive data bars. The value of the property is DataBarNegativeColorType integer constant.
com.aspose.cells.ColorgetColor()
void
setColor(com.aspose.cells.Colorvalue)
           Gets or sets a FormatColor object that you can use to specify the fill color for negative data bars.
intgetColorType()
void
setColorType(intvalue)
           Gets or sets whether to use the same fill color as positive data bars. The value of the property is DataBarNegativeColorType integer constant.
 

    • Property Getters/Setters Detail

      • getBorderColor/setBorderColor

        public com.aspose.cells.Color getBorderColor() / public void setBorderColor(com.aspose.cells.Color value)
        
        Gets or sets a FormatColor object that you can use to specify the border color for negative data bars.
      • getBorderColorType/setBorderColorType

        public int getBorderColorType() / public void setBorderColorType(int value)
        
        Gets whether to use the same border color as positive data bars. The value of the property is DataBarNegativeColorType integer constant.
      • getColor/setColor

        public com.aspose.cells.Color getColor() / public void setColor(com.aspose.cells.Color value)
        
        Gets or sets a FormatColor object that you can use to specify the fill color for negative data bars.
      • getColorType/setColorType

        public int getColorType() / public void setColorType(int value)
        
        Gets or sets whether to use the same fill color as positive data bars. The value of the property is DataBarNegativeColorType integer constant.

    setBorderColor

    public voidsetBorderColor(com.aspose.cells.Colorvalue)
    
    Gets or sets a FormatColor object that you can use to specify the border color for negative data bars.

    setBorderColorType

    public voidsetBorderColorType(intvalue)
    
    Gets whether to use the same border color as positive data bars. The value of the property is DataBarNegativeColorType integer constant.

    setColor

    public voidsetColor(com.aspose.cells.Colorvalue)
    
    Gets or sets a FormatColor object that you can use to specify the fill color for negative data bars.

    setColorType

    public voidsetColorType(intvalue)
    
    Gets or sets whether to use the same fill color as positive data bars. The value of the property is DataBarNegativeColorType integer constant.