Class SuperDoubleField

    • Constructor Detail

      • SuperDoubleField

        public SuperDoubleField()
        Constructs the field with an empty label, zero as default value and with default Locale.
      • SuperDoubleField

        public SuperDoubleField​(Locale locale)
        Constructs the field with an empty label and zero as default value.
        Parameters:
        locale - Locale to use for formatting.
      • SuperDoubleField

        public SuperDoubleField​(Locale locale,
                                int maxFractionDigits)
        Constructs the field with an empty label and zero as default value.
        Parameters:
        locale - Locale to use for formatting.
        maxFractionDigits - Maximum number of fraction digits allowed (overwrites setting found in locale.
      • SuperDoubleField

        public SuperDoubleField​(String label)
        Constructs the field with default Locale and zero as default value.
        Parameters:
        label - Label accompanying the field.
      • SuperDoubleField

        public SuperDoubleField​(String label,
                                Locale locale)
        Constructs the field with zero as the default value.
        Parameters:
        label - Label accompanying the field.
        locale - Locale to use for formatting.
      • SuperDoubleField

        public SuperDoubleField​(Double defaultValue,
                                String label)
        Constructs the field with given default value and label, and with default Locale.
        Parameters:
        defaultValue - Default value.
        label - Label that accompanies the field.
      • SuperDoubleField

        public SuperDoubleField​(String label,
                                Locale locale,
                                int maxFractionDigits)
        Constructs the field with zero as the default value..
        Parameters:
        label - Label accompanying the field.
        locale - Locale to use for formatting.
        maxFractionDigits - Maximum number of fraction digits allowed (overwrites setting found in locale.
      • SuperDoubleField

        public SuperDoubleField​(Double defaultValue,
                                String label,
                                Locale locale,
                                int maxFractionDigits)
        Constructs the field.
        Parameters:
        defaultValue - Default value.
        label - Label accompanying the field.
        locale - Locale to use for formatting.
        maxFractionDigits - Maximum number of fraction digits allowed (overwrites setting found in locale.