Class DataBarImpl

    • Constructor Detail

      • DataBarImpl

        public DataBarImpl()
    • Method Detail

      • addValueObject

        public void addValueObject​(SCFValueObject vobject)
      • getColor

        public SColor getColor()
        Description copied from interface: SDataBar
        Returns the color of the bar
        Specified by:
        getColor in interface SDataBar
      • setColor

        public void setColor​(SColor color)
      • getMinLength

        public int getMinLength()
        Description copied from interface: SDataBar
        Returns the minimum length in percentage of this data bar; default to 10.
        Specified by:
        getMinLength in interface SDataBar
      • setMinLength

        public void setMinLength​(int minLength)
      • getMaxLength

        public int getMaxLength()
        Description copied from interface: SDataBar
        Returns the maximum length in percentage of this data bar; default to 90
        Specified by:
        getMaxLength in interface SDataBar
      • setMaxLength

        public void setMaxLength​(int maxLength)
      • isShowValue

        public boolean isShowValue()
        Description copied from interface: SDataBar
        Returns whether show the value in the data bar
        Specified by:
        isShowValue in interface SDataBar
      • setShowValue

        public void setShowValue​(boolean b)
      • getBorderColor

        public SColor getBorderColor()
        Description copied from interface: SDataBar
        Return the border color of the bar in extLst. since 5.9.0
        Specified by:
        getBorderColor in interface SDataBar
        Returns:
      • setBorderColor

        public void setBorderColor​(SColor borderColor)
      • getNegativeBorderColor

        public SColor getNegativeBorderColor()
        Description copied from interface: SDataBar
        Return the negative border color of the bar in extLst. since 5.9.0
        Specified by:
        getNegativeBorderColor in interface SDataBar
        Returns:
      • setNegativeBorderColor

        public void setNegativeBorderColor​(SColor negativeBorderColor)
      • getNegativeFillColor

        public SColor getNegativeFillColor()
        Description copied from interface: SDataBar
        Return the negative fill color of the bar in extLst. since 5.9.0
        Specified by:
        getNegativeFillColor in interface SDataBar
        Returns:
      • setNegativeFillColor

        public void setNegativeFillColor​(SColor negativeFillColor)
      • getAxisColor

        public SColor getAxisColor()
        Description copied from interface: SDataBar
        Return the axis color of the bar in extLst. since 5.9.0
        Specified by:
        getAxisColor in interface SDataBar
        Returns:
      • setAxisColor

        public void setAxisColor​(SColor axisColor)
      • isBorder

        public boolean isBorder()
        Description copied from interface: SDataBar
        Return whether enables border or not in extLst. Default: false since 5.9.0
        Specified by:
        isBorder in interface SDataBar
        Returns:
      • setBorder

        public void setBorder​(boolean border)
      • isGradient

        public boolean isGradient()
        Description copied from interface: SDataBar
        Return whether enables gradient or not in extLst. Default: true since 5.9.0
        Specified by:
        isGradient in interface SDataBar
        Returns:
      • setGradient

        public void setGradient​(boolean gradient)
      • isNegativeBarColorSameAsPositive

        public boolean isNegativeBarColorSameAsPositive()
        Description copied from interface: SDataBar
        Return whether enables negativeBarColorSameAsPositive in extLst. Default: true since 5.9.0
        Specified by:
        isNegativeBarColorSameAsPositive in interface SDataBar
        Returns:
      • setNegativeBarColorSameAsPositive

        public void setNegativeBarColorSameAsPositive​(boolean negativeBarColorSameAsPositive)
      • isNegativeBarBorderColorSameAsPositive

        public boolean isNegativeBarBorderColorSameAsPositive()
        Description copied from interface: SDataBar
        Return whether enables negativeBarBorderColorSameAsPositive in extLst. Default: true since 5.9.0
        Specified by:
        isNegativeBarBorderColorSameAsPositive in interface SDataBar
        Returns:
      • setNegativeBarBorderColorSameAsPositive

        public void setNegativeBarBorderColorSameAsPositive​(boolean negativeBarBorderColorSameAsPositive)
      • getAxisPosition

        public String getAxisPosition()
        Description copied from interface: SDataBar
        Return the axisPosition of this bar in extLst. Default: "auto" since 5.9.0
        Specified by:
        getAxisPosition in interface SDataBar
        Returns:
      • setAxisPosition

        public void setAxisPosition​(String axisPosition)
      • getDirection

        public String getDirection()
        Description copied from interface: SDataBar
        Return the direction of this bar in extLst. Default: "leftToRight" since 5.9.0
        Specified by:
        getDirection in interface SDataBar
        Returns:
      • setDirection

        public void setDirection​(String direction)