Class JRDesignValueDisplay

    • Constructor Detail

      • JRDesignValueDisplay

        public JRDesignValueDisplay​(JRValueDisplay valueDisplay,
                                    JRChart chart)
        Constructs a new value display that is a copy of an existing one.
        Parameters:
        valueDisplay - the display to copy
    • Method Detail

      • setColor

        public void setColor​(Color color)
        Sets the color to use when displaying the value.
        Parameters:
        color - the color to use when displaying the value
      • setMask

        public void setMask​(String mask)
        Sets the formatting mask to use when displaying the value. This mask will be used to create a java.text.DecimalFormat object.
        Parameters:
        mask - the formatting mask to use when displaying the value
      • setFont

        public void setFont​(JRFont font)
        Sets the font to use when displaying the value.
        Parameters:
        font - the font to use when displaying the value