Class DecimalNumericDisplayConverter

    • Constructor Detail

      • DecimalNumericDisplayConverter

        public DecimalNumericDisplayConverter()
        Creates a converter that uses NumberFormat.
      • DecimalNumericDisplayConverter

        public DecimalNumericDisplayConverter​(boolean useNumberFormat)
        Creates a converter and allows to specify whether NumberFormat should be used or not.
        Parameters:
        useNumberFormat - true if a NumberFormat should be used, false if not.
        Since:
        1.4
    • Method Detail

      • setMinimumFractionDigits

        public void setMinimumFractionDigits​(int newValue)
        Sets the minimum number of digits allowed in the fraction portion of a number.
        Parameters:
        newValue - newValue the minimum number of fraction digits to be shown; if less than zero, then zero is used.
        See Also:
        NumberFormat.setMinimumFractionDigits(int)
      • setMaximumFractionDigits

        public void setMaximumFractionDigits​(int newValue)
        Sets the maximum number of digits allowed in the fraction portion of a number.
        Parameters:
        newValue - newValue the maximum number of fraction digits to be shown; if less than zero, then zero is used.
        See Also:
        NumberFormat.setMaximumFractionDigits(int)