Class SuperIntegerField

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

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

    • SuperIntegerField

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

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

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

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

      public SuperIntegerField(Integer 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.
    • SuperIntegerField

      public SuperIntegerField(Integer 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