Class SuperLongField

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>
org.vaadin.miki.superfields.numbers.AbstractSuperNumberField<Long,SuperLongField>
org.vaadin.miki.superfields.numbers.SuperLongField
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.BlurNotifier<com.vaadin.flow.component.customfield.CustomField<Long>>, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.Focusable<com.vaadin.flow.component.customfield.CustomField<Long>>, com.vaadin.flow.component.FocusNotifier<com.vaadin.flow.component.customfield.CustomField<Long>>, 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<Long>,Long>,Long>, com.vaadin.flow.component.HasValueAndElement<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.customfield.CustomField<Long>,Long>,Long>, 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<SuperLongField>, CanReceiveSelectionEventsFromClient, CanSelectText, HasHelperPositionable, HasId, HasLabelPositionable, HasLocale, HasNullValueOptionallyAllowed<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.customfield.CustomField<Long>,Long>,Long>, HasPlaceholder, HasRequired, HasTextInputMode, WithClearButtonMixin<SuperLongField>, WithHelperMixin<SuperLongField>, WithHelperPositionableMixin<SuperLongField>, WithIdMixin<SuperLongField>, WithLabelMixin<SuperLongField>, WithLabelPositionableMixin<SuperLongField>, WithLocaleMixin<SuperLongField>, WithNullValueOptionallyAllowedMixin<SuperLongField,com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.customfield.CustomField<Long>,Long>,Long>, WithPlaceholderMixin<SuperLongField>, WithReceivingSelectionEventsFromClientMixin<SuperLongField>, WithRequiredMixin<SuperLongField>, WithTextInputModeMixin<SuperLongField>, WithTooltipMixin<SuperLongField>, WithValueMixin<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.customfield.CustomField<Long>,Long>,Long,SuperLongField>

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

    • SuperLongField

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

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

      public SuperLongField(String label)
      Constructs the field with zero as default value and default Locale.
      Parameters:
      label - Label that accompanies the field.
    • SuperLongField

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

      public SuperLongField(Long 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.
    • SuperLongField

      public SuperLongField(Long defaultValue, String label, Locale locale)
      Constructs the field.
      Parameters:
      defaultValue - Default value.
      label - Label that accompanies the field.
      locale - Locale to use for formatting.
  • Method Details