Class VNumberField

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.vaadin.flow.component.textfield.GeneratedVaadinTextField

        com.vaadin.flow.component.textfield.GeneratedVaadinTextField.ChangeEvent<R extends com.vaadin.flow.component.textfield.GeneratedVaadinTextField<R,​?>>, com.vaadin.flow.component.textfield.GeneratedVaadinTextField.InvalidChangeEvent<R extends com.vaadin.flow.component.textfield.GeneratedVaadinTextField<R,​?>>
      • Nested classes/interfaces inherited from class com.vaadin.flow.component.AbstractField

        com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<C extends com.vaadin.flow.component.Component,​V extends Object>
      • Nested classes/interfaces inherited from interface com.vaadin.flow.component.BlurNotifier

        com.vaadin.flow.component.BlurNotifier.BlurEvent<C extends com.vaadin.flow.component.Component>
      • Nested classes/interfaces inherited from interface com.vaadin.flow.component.FocusNotifier

        com.vaadin.flow.component.FocusNotifier.FocusEvent<C extends com.vaadin.flow.component.Component>
      • Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasValue

        com.vaadin.flow.component.HasValue.ValueChangeEvent<V extends Object>, com.vaadin.flow.component.HasValue.ValueChangeListener<E extends com.vaadin.flow.component.HasValue.ValueChangeEvent<?>>
    • Field Summary

      • Fields inherited from interface com.vaadin.flow.component.textfield.HasAutocapitalize

        AUTOCAPITALIZE_ATTRIBUTE
      • Fields inherited from interface com.vaadin.flow.component.textfield.HasAutocomplete

        AUTOCOMPLETE_ATTRIBUTE
      • Fields inherited from interface com.vaadin.flow.component.textfield.HasAutocorrect

        AUTOCORRECT_ATTRIBUTE
      • Fields inherited from interface com.vaadin.flow.data.value.HasValueChangeMode

        DEFAULT_CHANGE_TIMEOUT
    • Constructor Summary

      Constructors 
      Constructor Description
      VNumberField()  
      VNumberField​(com.vaadin.flow.component.HasValue.ValueChangeListener<? super com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.NumberField,​Double>> listener)  
      VNumberField​(String label)  
      VNumberField​(String label, com.vaadin.flow.component.HasValue.ValueChangeListener<? super com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.NumberField,​Double>> listener)  
      VNumberField​(String label, Double initialValue, com.vaadin.flow.component.HasValue.ValueChangeListener<? super com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.NumberField,​Double>> listener)  
      VNumberField​(String label, String placeholder)  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      VNumberField withAutofocus​(boolean autofocus)  
      VNumberField withClearButtonVisible​(boolean clearButtonVisible)  
      VNumberField withHasControls​(boolean hasControls)  
      VNumberField withMax​(double max)  
      VNumberField withMaxLength​(int maxLength)
      Deprecated.
      VNumberField withMin​(double min)  
      VNumberField withMinLength​(int minLength)
      Deprecated.
      VNumberField withPattern​(String pattern)
      Deprecated.
      VNumberField withPlaceholder​(String placeholder)  
      VNumberField withPreventInvalidInput​(boolean preventInvalidInput)
      Deprecated.
      VNumberField withRequired​(boolean required)  
      VNumberField withStep​(double step)  
      VNumberField withTitle​(String title)  
      VNumberField withValueChangeMode​(com.vaadin.flow.data.value.ValueChangeMode valueChangeMode)  
      • Methods inherited from class com.vaadin.flow.component.textfield.NumberField

        getMax, getMaxLength, getMin, getMinLength, getPattern, getStep, isPreventInvalidInput, setMax, setMaxLength, setMin, setMinLength, setPattern, setPreventInvalidInput, setStep
      • Methods inherited from class com.vaadin.flow.component.textfield.AbstractNumberField

        getEmptyValue, getErrorMessage, getLabel, getMaxDouble, getMinDouble, getPlaceholder, getStepDouble, getTitle, getValue, getValueChangeMode, getValueChangeTimeout, hasControls, isAutofocus, isAutoselect, isClearButtonVisible, isInvalid, onAttach, setAutofocus, setAutoselect, setClearButtonVisible, setErrorMessage, setHasControls, setInvalid, setLabel, setPlaceholder, setRequiredIndicatorVisible, setTitle, setValue, setValueChangeMode, setValueChangeTimeout, validate
      • Methods inherited from class com.vaadin.flow.component.textfield.GeneratedVaadinNumberField

        checkValidity, hasControlsBoolean
      • Methods inherited from class com.vaadin.flow.component.textfield.GeneratedVaadinTextField

        addChangeListener, addInvalidChangeListener, addThemeVariants, addToInput, addToPrefix, addToSuffix, getAutocapitalizeString, getAutocompleteString, getAutocorrectString, getErrorMessageString, getLabelString, getListString, getMaxlengthDouble, getMinlengthDouble, getNameString, getPatternString, getPlaceholderString, getTitleString, isAutofocusBoolean, isAutoselectBoolean, isClearButtonVisibleBoolean, isDisabledBoolean, isInvalidBoolean, isPreventInvalidInputBoolean, isReadonlyBoolean, isRequiredBoolean, remove, removeAll, removeThemeVariants, setAutocapitalize, setAutocomplete, setAutocorrect, setDisabled, setList, setMaxlength, setMinlength, setName, setReadonly, setRequired
      • Methods inherited from class com.vaadin.flow.component.AbstractSinglePropertyField

        getSynchronizationRegistration, hasValidValue, setPresentationValue, setSynchronizedEvent
      • Methods inherited from class com.vaadin.flow.component.AbstractField

        addValueChangeListener, isEmpty, setModelValue, valueEquals
      • Methods inherited from class com.vaadin.flow.component.Component

        addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
      • Methods inherited from interface com.vaadin.flow.component.AttachNotifier

        addAttachListener
      • Methods inherited from interface com.vaadin.flow.component.BlurNotifier

        addBlurListener
      • Methods inherited from interface com.vaadin.flow.component.CompositionNotifier

        addCompositionEndListener, addCompositionStartListener, addCompositionUpdateListener
      • Methods inherited from interface com.vaadin.flow.component.DetachNotifier

        addDetachListener
      • Methods inherited from interface com.vaadin.flow.component.Focusable

        addFocusShortcut, blur, focus, getTabIndex, setTabIndex
      • Methods inherited from interface com.vaadin.flow.component.FocusNotifier

        addFocusListener
      • Methods inherited from interface com.vaadin.flow.component.textfield.HasAutocapitalize

        getAutocapitalize, setAutocapitalize
      • Methods inherited from interface com.vaadin.flow.component.textfield.HasAutocomplete

        getAutocomplete, setAutocomplete
      • Methods inherited from interface com.vaadin.flow.component.textfield.HasAutocorrect

        isAutocorrect, setAutocorrect
      • Methods inherited from interface com.vaadin.flow.component.HasElement

        getElement
      • Methods inherited from interface com.vaadin.flow.component.HasEnabled

        isEnabled, setEnabled
      • Methods inherited from interface com.vaadin.flow.component.HasHelper

        getHelperComponent, getHelperText, setHelperComponent, setHelperText
      • Methods inherited from interface com.vaadin.flow.component.textfield.HasPrefixAndSuffix

        getPrefixComponent, getSuffixComponent, setPrefixComponent, setSuffixComponent
      • Methods inherited from interface com.vaadin.flow.component.HasSize

        getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
      • Methods inherited from interface com.vaadin.flow.component.HasStyle

        addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
      • Methods inherited from interface com.vaadin.flow.component.HasTheme

        addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeName
      • Methods inherited from interface com.vaadin.flow.component.HasValidation

        getErrorMessage, isInvalid, setErrorMessage, setInvalid
      • Methods inherited from interface com.vaadin.flow.component.HasValue

        addValueChangeListener, clear, getEmptyValue, getOptionalValue, getValue, isEmpty, setValue
      • Methods inherited from interface com.vaadin.flow.component.HasValueAndElement

        isReadOnly, isRequiredIndicatorVisible, setReadOnly
      • Methods inherited from interface com.vaadin.flow.component.InputNotifier

        addInputListener
      • Methods inherited from interface com.vaadin.flow.component.KeyNotifier

        addKeyDownListener, addKeyDownListener, addKeyPressListener, addKeyPressListener, addKeyUpListener, addKeyUpListener
    • Constructor Detail

      • VNumberField

        public VNumberField()
      • VNumberField

        public VNumberField​(String label)
      • VNumberField

        public VNumberField​(String label,
                            String placeholder)
      • VNumberField

        public VNumberField​(com.vaadin.flow.component.HasValue.ValueChangeListener<? super com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.NumberField,​Double>> listener)
      • VNumberField

        public VNumberField​(String label,
                            com.vaadin.flow.component.HasValue.ValueChangeListener<? super com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.NumberField,​Double>> listener)
      • VNumberField

        public VNumberField​(String label,
                            Double initialValue,
                            com.vaadin.flow.component.HasValue.ValueChangeListener<? super com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.NumberField,​Double>> listener)