Class VTextField
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.AbstractField<com.vaadin.flow.component.textfield.TextField,String>
 
com.vaadin.flow.component.AbstractSinglePropertyField<com.vaadin.flow.component.textfield.TextField,String>
 
com.vaadin.flow.component.textfield.TextFieldBase<com.vaadin.flow.component.textfield.TextField,String>
 
com.vaadin.flow.component.textfield.TextField
org.vaadin.firitin.components.textfield.VTextField
- All Implemented Interfaces:
- com.vaadin.flow.component.AttachNotifier,- com.vaadin.flow.component.BlurNotifier<com.vaadin.flow.component.textfield.TextField>,- com.vaadin.flow.component.CompositionNotifier,- com.vaadin.flow.component.DetachNotifier,- com.vaadin.flow.component.Focusable<com.vaadin.flow.component.textfield.TextField>,- com.vaadin.flow.component.FocusNotifier<com.vaadin.flow.component.textfield.TextField>,- com.vaadin.flow.component.HasAriaLabel,- com.vaadin.flow.component.HasElement,- com.vaadin.flow.component.HasEnabled,- com.vaadin.flow.component.HasHelper,- com.vaadin.flow.component.HasLabel,- com.vaadin.flow.component.HasPlaceholder,- 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.textfield.TextField,,- String>, - String> - com.vaadin.flow.component.HasValueAndElement<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextField,,- String>, - String> - com.vaadin.flow.component.InputNotifier,- com.vaadin.flow.component.KeyNotifier,- com.vaadin.flow.component.shared.HasAllowedCharPattern,- com.vaadin.flow.component.shared.HasClearButton,- com.vaadin.flow.component.shared.HasClientValidation,- com.vaadin.flow.component.shared.HasPrefix,- com.vaadin.flow.component.shared.HasSuffix,- com.vaadin.flow.component.shared.HasThemeVariant<com.vaadin.flow.component.textfield.TextFieldVariant>,- com.vaadin.flow.component.shared.HasTooltip,- com.vaadin.flow.component.shared.HasValidationProperties,- com.vaadin.flow.component.shared.InputField<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextField,,- String>, - String> - com.vaadin.flow.component.textfield.HasAutocapitalize,- com.vaadin.flow.component.textfield.HasAutocomplete,- com.vaadin.flow.component.textfield.HasAutocorrect,- com.vaadin.flow.component.textfield.HasPrefixAndSuffix,- com.vaadin.flow.data.binder.HasValidator<String>,- com.vaadin.flow.data.value.HasValueChangeMode,- Serializable,- FluentVaadinTextField<VTextField,,- com.vaadin.flow.component.textfield.TextField, - String> - SelectionApi,- FluentAttachNotifier<VTextField>,- FluentBlurNotifier<com.vaadin.flow.component.textfield.TextField,,- VTextField> - FluentComponent<VTextField>,- FluentCompositionNotifier<VTextField>,- FluentDetachNotifier<VTextField>,- FluentFocusable<com.vaadin.flow.component.textfield.TextField,,- VTextField> - FluentFocusNotifier<com.vaadin.flow.component.textfield.TextField,,- VTextField> - FluentHasAutocapitalize<VTextField>,- FluentHasAutocomplete<VTextField>,- FluentHasAutocorrect<VTextField>,- FluentHasEnabled<VTextField>,- FluentHasHelper<VTextField>,- FluentHasPrefixAndSuffix<VTextField>,- FluentHasSize<VTextField>,- FluentHasStyle<VTextField>,- FluentHasTheme<VTextField>,- FluentHasTooltip<VTextField>,- FluentHasValidation<VTextField>,- FluentHasValueAndElement<VTextField,,- com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextField, - String>, - String> - FluentInputNotifier<VTextField>,- FluentKeyNotifier<VTextField>,- FluentHasAutofocus<VTextField>,- FluentHasLabel<VTextField>
public class VTextField
extends com.vaadin.flow.component.textfield.TextField
implements FluentVaadinTextField<VTextField,com.vaadin.flow.component.textfield.TextField,String>  
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class com.vaadin.flow.component.AbstractFieldcom.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<C extends com.vaadin.flow.component.Component,V> Nested classes/interfaces inherited from interface com.vaadin.flow.component.BlurNotifiercom.vaadin.flow.component.BlurNotifier.BlurEvent<C extends com.vaadin.flow.component.Component>Nested classes/interfaces inherited from interface com.vaadin.flow.component.FocusNotifiercom.vaadin.flow.component.FocusNotifier.FocusEvent<C extends com.vaadin.flow.component.Component>Nested classes/interfaces inherited from interface com.vaadin.flow.component.shared.HasClientValidationcom.vaadin.flow.component.shared.HasClientValidation.ClientValidatedEventNested classes/interfaces inherited from interface com.vaadin.flow.component.HasValuecom.vaadin.flow.component.HasValue.ValueChangeEvent<V>, com.vaadin.flow.component.HasValue.ValueChangeListener<E extends com.vaadin.flow.component.HasValue.ValueChangeEvent<?>>Nested classes/interfaces inherited from interface org.vaadin.firitin.components.textfield.SelectionApiSelectionApi.SelectionRangeCallback
- 
Field SummaryFields inherited from interface com.vaadin.flow.component.textfield.HasAutocapitalizeAUTOCAPITALIZE_ATTRIBUTEFields inherited from interface com.vaadin.flow.component.textfield.HasAutocompleteAUTOCOMPLETE_ATTRIBUTEFields inherited from interface com.vaadin.flow.component.textfield.HasAutocorrectAUTOCORRECT_ATTRIBUTEFields inherited from interface com.vaadin.flow.data.value.HasValueChangeModeDEFAULT_CHANGE_TIMEOUT
- 
Constructor SummaryConstructorsConstructorDescriptionVTextField(com.vaadin.flow.component.HasValue.ValueChangeListener<? super com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextField, String>> listener) VTextField(String label) VTextField(String label, com.vaadin.flow.component.HasValue.ValueChangeListener<? super com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextField, String>> listener) VTextField(String label, String placeholder) VTextField(String label, String initialValue, com.vaadin.flow.component.HasValue.ValueChangeListener<? super com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextField, String>> listener) VTextField(String label, String initialValue, String placeholder) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidvoidwithAutoselect(boolean autoselect) withClearButtonVisible(boolean clearButtonVisible) withMaxLength(int maxLength) withMinLength(int minLength) withPattern(String pattern) withPlaceholder(String placeholder) withReadOnly(boolean readOnly) withRequired(boolean required) withThemeVariants(com.vaadin.flow.component.textfield.TextFieldVariant... variants) withValueChangeMode(com.vaadin.flow.data.value.ValueChangeMode valueChangeMode) withValueChangeTimeout(int valueChangeTimeout) Methods inherited from class com.vaadin.flow.component.textfield.TextFieldgetDefaultValidator, getEmptyValue, getMaxLength, getMinLength, getPattern, getValue, onAttach, setManualValidation, setMaxLength, setMinLength, setPattern, setRequired, setRequiredIndicatorVisible, validateMethods inherited from class com.vaadin.flow.component.textfield.TextFieldBaseaddToInput, addToPrefix, addToSuffix, getAriaLabel, getAriaLabelledBy, getTitle, getValueChangeMode, getValueChangeTimeout, isAutofocus, isAutoselect, isRequired, setAriaLabel, setAriaLabelledBy, setAutofocus, setAutoselect, setLabel, setTitle, setValueChangeMode, setValueChangeTimeoutMethods inherited from class com.vaadin.flow.component.AbstractSinglePropertyFieldgetSynchronizationRegistration, hasValidValue, setPresentationValue, setSynchronizedEventMethods inherited from class com.vaadin.flow.component.AbstractFieldaddValueChangeListener, isEmpty, setModelValue, valueEqualsMethods inherited from class com.vaadin.flow.component.ComponentaddListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifieraddAttachListenerMethods inherited from interface com.vaadin.flow.component.BlurNotifieraddBlurListenerMethods inherited from interface com.vaadin.flow.component.CompositionNotifieraddCompositionEndListener, addCompositionStartListener, addCompositionUpdateListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifieraddDetachListenerMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentAttachNotifierwithAttachListenerMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentBlurNotifierwithBlurListenerMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentComponentsetId, setVisible, withId, withVisibleMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentCompositionNotifierwithCompositionEndListener, withCompositionStartListener, withCompositionUpdateListenerMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentDetachNotifierwithDetachListenerMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentFocusablewithTabIndexMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentFocusNotifierwithFocusListenerMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasAutocapitalizewithAutocapitalizeMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasAutocompletewithAutocompleteMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasAutocorrectwithAutocorrectMethods inherited from interface org.vaadin.firitin.fluency.ui.internal.FluentHasAutofocusisAutofocus, setAutofocus, withAutofocusMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasEnabledwithEnabledMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasHelperwithHelperComponent, withHelperTextMethods inherited from interface org.vaadin.firitin.fluency.ui.internal.FluentHasLabelwithLabelMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasPrefixAndSuffixwithPrefixComponent, withSuffixComponentMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasSizewithFullHeight, withFullWidth, withHeight, withMaxHeight, withMaxSize, withMaxWidth, withMinHeight, withMinSize, withMinWidth, withSize, withSizeFull, withSizeUndefined, withWidthMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasStylewithAddedClassName, withClassName, withStyleMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasThemewithThemeNamesMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasTooltipwithTooltipMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasValidationwithErrorMessage, withInvalidMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasValueAndElementwithRequiredIndicatorVisible, withValue, withValueChangeListenerMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentInputNotifierwithInputListenerMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentKeyNotifierwithKeyDownListener, withKeyDownListener, withKeyPressListener, withKeyPressListener, withKeyUpListener, withKeyUpListenerMethods inherited from interface com.vaadin.flow.component.FocusableaddFocusShortcut, blur, focus, getTabIndex, setTabIndexMethods inherited from interface com.vaadin.flow.component.FocusNotifieraddFocusListenerMethods inherited from interface com.vaadin.flow.component.shared.HasAllowedCharPatterngetAllowedCharPattern, setAllowedCharPatternMethods inherited from interface com.vaadin.flow.component.textfield.HasAutocapitalizegetAutocapitalize, setAutocapitalizeMethods inherited from interface com.vaadin.flow.component.textfield.HasAutocompletegetAutocomplete, setAutocompleteMethods inherited from interface com.vaadin.flow.component.textfield.HasAutocorrectisAutocorrect, setAutocorrectMethods inherited from interface com.vaadin.flow.component.shared.HasClearButtonisClearButtonVisible, setClearButtonVisibleMethods inherited from interface com.vaadin.flow.component.shared.HasClientValidationaddClientValidatedEventListenerMethods inherited from interface com.vaadin.flow.component.HasElementgetElementMethods inherited from interface com.vaadin.flow.component.HasEnabledisEnabled, setEnabledMethods inherited from interface com.vaadin.flow.component.HasHelpergetHelperComponent, getHelperText, setHelperComponent, setHelperTextMethods inherited from interface com.vaadin.flow.component.HasLabelgetLabel, setLabelMethods inherited from interface com.vaadin.flow.component.HasPlaceholdergetPlaceholder, setPlaceholderMethods inherited from interface com.vaadin.flow.component.shared.HasPrefixgetPrefixComponent, setPrefixComponentMethods inherited from interface com.vaadin.flow.component.HasSizegetHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFullMethods inherited from interface com.vaadin.flow.component.HasStyleaddClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods inherited from interface com.vaadin.flow.component.shared.HasSuffixgetSuffixComponent, setSuffixComponentMethods inherited from interface com.vaadin.flow.component.HasThemeaddThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeNameMethods inherited from interface com.vaadin.flow.component.shared.HasThemeVariantaddThemeVariants, removeThemeVariantsMethods inherited from interface com.vaadin.flow.component.shared.HasTooltipgetTooltip, setTooltipTextMethods inherited from interface com.vaadin.flow.component.HasValidationsetManualValidationMethods inherited from interface com.vaadin.flow.component.shared.HasValidationPropertiesgetErrorMessage, isInvalid, setErrorMessage, setInvalidMethods inherited from interface com.vaadin.flow.data.binder.HasValidatoraddValidationStatusChangeListenerMethods inherited from interface com.vaadin.flow.component.HasValueaddValueChangeListener, clear, getEmptyValue, getOptionalValue, getValue, isEmptyMethods inherited from interface com.vaadin.flow.component.HasValueAndElementisReadOnly, isRequiredIndicatorVisible, setReadOnlyMethods inherited from interface com.vaadin.flow.component.InputNotifieraddInputListenerMethods inherited from interface com.vaadin.flow.component.KeyNotifieraddKeyDownListener, addKeyDownListener, addKeyPressListener, addKeyPressListener, addKeyUpListener, addKeyUpListenerMethods inherited from interface org.vaadin.firitin.components.textfield.SelectionApigetCursorPosition, getSelectionRange, selectAll, setCursorPosition, setSelectionRange
- 
Constructor Details- 
VTextFieldpublic VTextField()
- 
VTextField
- 
VTextField
- 
VTextField
- 
VTextFieldpublic VTextField(com.vaadin.flow.component.HasValue.ValueChangeListener<? super com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextField, String>> listener) 
- 
VTextField
- 
VTextField
 
- 
- 
Method Details- 
initializeSettingsprotected void initializeSettings()
- 
withRequired
- 
withPlaceholder
- 
withPattern
- 
setValue
- 
withThemeVariantspublic VTextField withThemeVariants(com.vaadin.flow.component.textfield.TextFieldVariant... variants) 
- 
withValueChangeMode
- 
withValueChangeTimeout
- 
withAutoselect
- 
withTitle
- 
withClearButtonVisible
- 
withReadOnly- Specified by:
- withReadOnlyin interface- FluentHasValueAndElement<VTextField,- com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextField, - String>, - String> 
 
- 
withMaxLength
- 
withMinLength
 
-