Class SuperDoubleField

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.AbstractField<com.vaadin.flow.component.customfield.CustomField<T>,T>
com.vaadin.flow.component.customfield.CustomField<T>
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.BlurNotifier<com.vaadin.flow.component.customfield.CustomField<Double>>, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.Focusable<com.vaadin.flow.component.customfield.CustomField<Double>>, com.vaadin.flow.component.FocusNotifier<com.vaadin.flow.component.customfield.CustomField<Double>>, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasHelper, com.vaadin.flow.component.HasLabel, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.HasTheme, com.vaadin.flow.component.HasValidation, com.vaadin.flow.component.HasValue<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.customfield.CustomField<Double>,Double>,Double>, com.vaadin.flow.component.HasValueAndElement<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.customfield.CustomField<Double>,Double>,Double>, com.vaadin.flow.component.shared.HasClearButton, com.vaadin.flow.component.shared.HasPrefix, com.vaadin.flow.component.shared.HasSuffix, com.vaadin.flow.component.shared.HasTooltip, com.vaadin.flow.component.shared.HasValidationProperties, com.vaadin.flow.data.value.HasValueChangeMode, Serializable, TextSelectionNotifier<SuperDoubleField>, CanReceiveSelectionEventsFromClient, CanSelectText, HasHelperPositionable, HasId, HasLabelPositionable, HasLocale, HasNullValueOptionallyAllowed<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.customfield.CustomField<Double>,Double>,Double>, HasPlaceholder, HasRequired, HasTextInputMode, WithClearButtonMixin<SuperDoubleField>, WithHelperMixin<SuperDoubleField>, WithHelperPositionableMixin<SuperDoubleField>, WithIdMixin<SuperDoubleField>, WithLabelMixin<SuperDoubleField>, WithLabelPositionableMixin<SuperDoubleField>, WithLocaleMixin<SuperDoubleField>, WithNullValueOptionallyAllowedMixin<SuperDoubleField,com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.customfield.CustomField<Double>,Double>,Double>, WithPlaceholderMixin<SuperDoubleField>, WithReceivingSelectionEventsFromClientMixin<SuperDoubleField>, WithRequiredMixin<SuperDoubleField>, WithTextInputModeMixin<SuperDoubleField>, WithTooltipMixin<SuperDoubleField>, WithValueMixin<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.customfield.CustomField<Double>,Double>,Double,SuperDoubleField>

@JsModule("./super-double-field.ts") @Tag("super-double-field") public class SuperDoubleField extends AbstractSuperFloatingPointField<Double,SuperDoubleField>
A field for Double values that are properly formatted.
Since:
2020-04-07
Author:
miki
See Also:
  • Constructor Details

    • 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.
  • Method Details