Package com.vaadin.featurepack.ui
Class FPasswordField
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.AbstractField<com.vaadin.flow.component.textfield.PasswordField,String>
com.vaadin.flow.component.AbstractSinglePropertyField<com.vaadin.flow.component.textfield.PasswordField,String>
com.vaadin.flow.component.textfield.TextFieldBase<com.vaadin.flow.component.textfield.PasswordField,String>
com.vaadin.flow.component.textfield.PasswordField
com.vaadin.featurepack.ui.FPasswordField
- All Implemented Interfaces:
Buffered,BufferedValidatable,Property<String>,Property.Editor,Property.ReadOnlyStatusChangeListener,Property.ReadOnlyStatusChangeNotifier,Property.ValueChangeListener,Property.ValueChangeNotifier,Property.Viewer,Field<String>,Validatable,FieldEvents.BlurNotifier,FieldEvents.FocusNotifier,ClientConnector,FAbstractClientConnector,FSizeable,HasSizeable,FAbstractComponent,FAbstractTextField,HasInputColumns,InputSelectionCapable<String>,NullValueCapable<String>,com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.BlurNotifier<com.vaadin.flow.component.textfield.PasswordField>,com.vaadin.flow.component.CompositionNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.Focusable<com.vaadin.flow.component.textfield.PasswordField>,com.vaadin.flow.component.FocusNotifier<com.vaadin.flow.component.textfield.PasswordField>,com.vaadin.flow.component.HasAriaDescription,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.PasswordField,,String>, String> com.vaadin.flow.component.HasValueAndElement<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.PasswordField,,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.HasPrefix,com.vaadin.flow.component.shared.HasSuffix,com.vaadin.flow.component.shared.HasTextSelection,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.PasswordField,,String>, String> com.vaadin.flow.component.textfield.HasAutocapitalize,com.vaadin.flow.component.textfield.HasAutocomplete,com.vaadin.flow.component.textfield.HasAutocorrect,com.vaadin.flow.data.binder.HasValidator<String>,com.vaadin.flow.data.value.HasValueChangeMode,Serializable
public class FPasswordField
extends com.vaadin.flow.component.textfield.PasswordField
implements FAbstractTextField
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.flow.component.textfield.PasswordField
com.vaadin.flow.component.textfield.PasswordField.PasswordFieldI18nNested classes/interfaces inherited from class com.vaadin.flow.component.AbstractField
com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<C extends com.vaadin.flow.component.Component,V> 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.featurepack.data.Buffered
Buffered.SourceExceptionNested classes/interfaces inherited from interface com.vaadin.featurepack.server.ClientConnector
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.DetachEvent, ClientConnector.DetachListenerNested classes/interfaces inherited from interface com.vaadin.featurepack.server.FAbstractClientConnector
FAbstractClientConnector.LegacyMethodEventNested classes/interfaces inherited from interface com.vaadin.featurepack.ui.FAbstractComponent
FAbstractComponent.DataKeyNested classes/interfaces inherited from interface com.vaadin.featurepack.data.ui.Field
Field.ValueChangeEventNested classes/interfaces inherited from interface com.vaadin.flow.component.Focusable
com.vaadin.flow.component.Focusable.FocusJsNested 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.shared.HasTextSelection
com.vaadin.flow.component.shared.HasTextSelection.TextSelectionJsNested classes/interfaces inherited from interface com.vaadin.flow.component.HasValue
com.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 com.vaadin.featurepack.data.Property
Property.Editor, Property.ReadOnlyException, Property.ReadOnlyStatusChangeEvent, Property.ReadOnlyStatusChangeListener, Property.ReadOnlyStatusChangeNotifier, Property.Transactional<T>, Property.ValueChangeListener, Property.ValueChangeNotifier, Property.Viewer -
Field Summary
Fields inherited from interface com.vaadin.flow.component.textfield.HasAutocapitalize
AUTOCAPITALIZE_ATTRIBUTEFields inherited from interface com.vaadin.flow.component.textfield.HasAutocomplete
AUTOCOMPLETE_ATTRIBUTEFields inherited from interface com.vaadin.flow.component.textfield.HasAutocorrect
AUTOCORRECT_ATTRIBUTEFields inherited from interface com.vaadin.flow.data.value.HasValueChangeMode
DEFAULT_CHANGE_TIMEOUT -
Constructor Summary
ConstructorsConstructorDescriptionConstructs an empty PasswordField.FPasswordField(Property dataSource) Constructs a PasswordField with given property data source.FPasswordField(String caption) Constructs a PasswordField with given caption.FPasswordField(String caption, Property dataSource) Constructs a PasswordField with given caption and property data source.FPasswordField(String caption, String value) Constructs a PasswordField with given value and caption. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Resets the value to the empty one.protected voidfireEvent(com.vaadin.flow.component.ComponentEvent<?> componentEvent) Returns the controller that provides logic for input column handling.Returns the controller that manages input selection logic for this component.Returns the controller that provides logic for handling null-value behavior.getType()Returns the type of the Property.getValue()Returns the logical value of the field.booleanisEmpty()Checks whether the field is logically empty.booleanbooleanIs this field required.protected voidonAttach(com.vaadin.flow.component.AttachEvent attachEvent) protected voidonDetach(com.vaadin.flow.component.DetachEvent detachEvent) voidSelects all text in the field.voidsetCursorPosition(int pos) Sets the cursor position in the field.voidvoidsetLabelComponent(com.vaadin.flow.component.Component labelComponent) Sets the component's label component.voidsetReadOnly(boolean readOnly) voidsetRequired(boolean required) Sets the field required.voidsetSelectionRange(int pos, int length) Sets the range of text to be selected and focuses the field on the client side.voidSets the value of the field.voidvalidate()Checks the validity of the validatable.Methods inherited from class com.vaadin.flow.component.textfield.PasswordField
getDefaultValidator, getEmptyValue, getI18n, getMaxLength, getMinLength, getPattern, isRevealButtonVisible, setErrorMessage, setI18n, setManualValidation, setMaxLength, setMinLength, setPattern, setRequiredIndicatorVisible, setRevealButtonVisibleMethods inherited from class com.vaadin.flow.component.textfield.TextFieldBase
addToInput, addToPrefix, addToSuffix, getAriaDescribedBy, getAriaLabel, getAriaLabelledBy, getTitle, getValueChangeMode, getValueChangeTimeout, isAutofocus, isAutoselect, isRequiredIndicatorVisible, setAriaDescribedBy, setAriaLabel, setAriaLabelledBy, setAutofocus, setAutoselect, setTitle, setValueChangeMode, setValueChangeTimeoutMethods inherited from class com.vaadin.flow.component.AbstractSinglePropertyField
getSynchronizationRegistration, hasValidValue, setPresentationValue, setSynchronizedEventMethods inherited from class com.vaadin.flow.component.AbstractField
addValueChangeListener, bindValue, setModelValue, valueEqualsMethods inherited from class com.vaadin.flow.component.Component
addListener, bindVisible, findAncestor, findAncestor, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTestId, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, getUIOrThrow, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setTestId, setVisible, whenAttachedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.BlurNotifier
addBlurListenerMethods inherited from interface com.vaadin.flow.component.CompositionNotifier
addCompositionEndListener, addCompositionStartListener, addCompositionUpdateListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.featurepack.server.FAbstractClientConnector
addLegacyAttachListener, addLegacyDetachListener, addListener, addListener, attach, detach, doConnectorOnAttach, doConnectorOnDetach, fireEvent, fireEvent, getAllChildrenIterable, getFListeners, getFlowComponent, getResource, hasListeners, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeListener, removeListener, setResourceMethods inherited from interface com.vaadin.featurepack.ui.FAbstractComponent
addContextClickListener, addListener, addShortcutListener, addStyleName, addStyleNames, beforeClientResponse, getCaption, getComponentError, getData, getDescription, getFErrorIndicator, getFErrorMessage, getFId, getFParent, getIcon, getIconResource, getPrimaryStyleName, getStyleName, isCaptionAsHtml, isImmediate, isResponsive, notifyParentAboutStyleChanges, removeContextClickListener, removeShortcutListener, removeStyleName, removeStyleNames, setCaption, setCaptionAsHtml, setComponentError, setData, setDescription, setDescription, setIcon, setIcon, setIconResource, setImmediate, setLocale, setPrimaryStyleName, setResponsive, setStyleName, setStyleNameMethods inherited from interface com.vaadin.featurepack.ui.FAbstractTextField
getMaxLength, setMaxLengthMethods inherited from interface com.vaadin.featurepack.data.ui.Field
addReadOnlyStatusChangeListener, addValidator, addValueChangeListener, commit, discard, getConvertedValue, getConverter, getFAbstractField, getPropertyDataSource, getRequiredError, getValidators, isBuffered, isInvalidAllowed, isInvalidCommitted, isModified, isPropertyReadOnly, isValid, readOnlyStatusChange, removeAllValidators, removeReadOnlyStatusChangeListener, removeValidator, removeValueChangeListener, setBuffered, setConverter, setInvalidAllowed, setInvalidCommitted, setPropertyDataSource, setPropertyReadOnly, setRequiredError, valueChangeMethods inherited from interface com.vaadin.featurepack.event.FieldEvents.BlurNotifier
addBlurListener, removeBlurListenerMethods inherited from interface com.vaadin.featurepack.event.FieldEvents.FocusNotifier
addFocusListener, removeFocusListenerMethods inherited from interface com.vaadin.flow.component.Focusable
addFocusShortcut, blur, focus, focus, getTabIndex, setTabIndexMethods inherited from interface com.vaadin.flow.component.FocusNotifier
addFocusListenerMethods inherited from interface com.vaadin.flow.component.shared.HasAllowedCharPattern
getAllowedCharPattern, setAllowedCharPatternMethods inherited from interface com.vaadin.flow.component.HasAriaDescription
setAriaDescribedByMethods inherited from interface com.vaadin.flow.component.HasAriaLabel
setAriaLabelledByMethods inherited from interface com.vaadin.flow.component.textfield.HasAutocapitalize
getAutocapitalize, setAutocapitalizeMethods inherited from interface com.vaadin.flow.component.textfield.HasAutocomplete
getAutocomplete, setAutocompleteMethods inherited from interface com.vaadin.flow.component.textfield.HasAutocorrect
isAutocorrect, setAutocorrectMethods inherited from interface com.vaadin.flow.component.shared.HasClearButton
bindClearButtonVisible, isClearButtonVisible, setClearButtonVisibleMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
bindEnabled, isEnabled, setEnabledMethods inherited from interface com.vaadin.flow.component.HasHelper
bindHelperText, getHelperComponent, getHelperText, setHelperComponent, setHelperTextMethods inherited from interface com.vaadin.featurepack.ui.HasInputColumns
getColumns, setColumnsMethods inherited from interface com.vaadin.flow.component.HasLabel
getLabelMethods inherited from interface com.vaadin.flow.component.HasPlaceholder
bindPlaceholder, getPlaceholder, setPlaceholderMethods inherited from interface com.vaadin.flow.component.shared.HasPrefix
getPrefixComponent, setPrefixComponentMethods inherited from interface com.vaadin.flow.component.HasSize
bindHeight, bindWidth, getHeight, 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.featurepack.server.HasSizeable
getFHeight, getFWidth, getHeightUnits, getWidthUnits, setHeight, setHeight, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull, setWidthUndefinedMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, bindClassName, bindClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods inherited from interface com.vaadin.flow.component.shared.HasSuffix
getSuffixComponent, setSuffixComponentMethods inherited from interface com.vaadin.flow.component.HasTheme
addThemeName, addThemeNames, bindThemeName, bindThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeNameMethods inherited from interface com.vaadin.flow.component.shared.HasThemeVariant
addThemeVariants, bindThemeVariant, bindThemeVariants, removeThemeVariants, setThemeVariant, setThemeVariants, setThemeVariantsMethods inherited from interface com.vaadin.flow.component.shared.HasTooltip
getTooltip, setTooltipMarkdown, setTooltipTextMethods inherited from interface com.vaadin.flow.component.shared.HasValidationProperties
getErrorMessage, isInvalid, setInvalidMethods inherited from interface com.vaadin.flow.data.binder.HasValidator
addValidationStatusChangeListenerMethods inherited from interface com.vaadin.flow.component.HasValue
addValueChangeListener, bindValue, getOptionalValueMethods inherited from interface com.vaadin.flow.component.HasValueAndElement
bindReadOnly, bindRequiredIndicatorVisibleMethods inherited from interface com.vaadin.flow.data.value.HasValueChangeMode
getValueChangeMode, getValueChangeTimeout, setValueChangeMode, setValueChangeTimeoutMethods inherited from interface com.vaadin.flow.component.InputNotifier
addInputListenerMethods inherited from interface com.vaadin.featurepack.ui.InputSelectionCapable
getCursorPositionMethods inherited from interface com.vaadin.flow.component.KeyNotifier
addKeyDownListener, addKeyDownListener, addKeyPressListener, addKeyPressListener, addKeyUpListener, addKeyUpListenerMethods inherited from interface com.vaadin.featurepack.ui.NullValueCapable
getNullRepresentation, isNullSettingAllowed, processGetValue, processSetValue, setNullRepresentation, setNullSettingAllowed
-
Constructor Details
-
FPasswordField
public FPasswordField()Constructs an empty PasswordField. -
FPasswordField
Constructs a PasswordField with given property data source.- Parameters:
dataSource- the property data source for the field
-
FPasswordField
Constructs a PasswordField with given caption and property data source.- Parameters:
caption- the caption for the fielddataSource- the property data source for the field
-
FPasswordField
Constructs a PasswordField with given value and caption.- Parameters:
caption- the caption for the fieldvalue- the value for the field
-
FPasswordField
Constructs a PasswordField with given caption.- Parameters:
caption- the caption for the field
-
-
Method Details
-
setValue
Sets the value of the field. If the value matches the null representation, the logical value will benullbut the null representation will be displayed.- Specified by:
setValuein interfacecom.vaadin.flow.component.HasValue<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.PasswordField,String>, String> - Specified by:
setValuein interfaceProperty<String>- Overrides:
setValuein classcom.vaadin.flow.component.textfield.PasswordField- Parameters:
value- the value to set
-
getValue
Returns the logical value of the field. If the stored logical value isnull, this method returnsnull, otherwise it returns the displayed text.- Specified by:
getValuein interfacecom.vaadin.flow.component.HasValue<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.PasswordField,String>, String> - Specified by:
getValuein interfaceProperty<String>- Overrides:
getValuein classcom.vaadin.flow.component.textfield.PasswordField- Returns:
- the logical value of this field, potentially
null
-
isEmpty
public boolean isEmpty()Checks whether the field is logically empty. Returnstrueif the value is an empty string ornull.- Specified by:
isEmptyin interfaceField<String>- Specified by:
isEmptyin interfacecom.vaadin.flow.component.HasValue<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.PasswordField,String>, String> - Overrides:
isEmptyin classcom.vaadin.flow.component.AbstractField<com.vaadin.flow.component.textfield.PasswordField,String> - Returns:
trueif the value is an empty string ornull,falseotherwise
-
setLabel
- Specified by:
setLabelin interfacecom.vaadin.flow.component.HasLabel- Overrides:
setLabelin classcom.vaadin.flow.component.textfield.TextFieldBase<com.vaadin.flow.component.textfield.PasswordField,String>
-
setLabelComponent
public void setLabelComponent(com.vaadin.flow.component.Component labelComponent) Description copied from interface:FAbstractComponentSets the component's label component. Flow components that support caption component usually overrides this.- Specified by:
setLabelComponentin interfaceFAbstractComponent- Parameters:
labelComponent- the new label component for the component.
-
getInputColumnController
Description copied from interface:HasInputColumnsReturns the controller that provides logic for input column handling. Implementations should provide their own controller instance.- Specified by:
getInputColumnControllerin interfaceHasInputColumns- Returns:
- the
InputColumnControllerinstance
-
getInputSelectionController
Description copied from interface:InputSelectionCapableReturns the controller that manages input selection logic for this component.- Specified by:
getInputSelectionControllerin interfaceInputSelectionCapable<String>- Returns:
- the
InputSelectionControllerinstance
-
setCursorPosition
public void setCursorPosition(int pos) Description copied from interface:InputSelectionCapableSets the cursor position in the field. This also focuses the field on the client side. The actual cursor position on the client may differ due to asynchronous updates.- Specified by:
setCursorPositionin interfacecom.vaadin.flow.component.shared.HasTextSelection- Specified by:
setCursorPositionin interfaceInputSelectionCapable<String>- Parameters:
pos- the position to move the cursor to
-
selectAll
public void selectAll()Description copied from interface:InputSelectionCapableSelects all text in the field. Focuses the field and attempts to set the selection range from start to end of the current value.- Specified by:
selectAllin interfacecom.vaadin.flow.component.shared.HasTextSelection- Specified by:
selectAllin interfaceInputSelectionCapable<String>
-
setSelectionRange
public void setSelectionRange(int pos, int length) Description copied from interface:InputSelectionCapableSets the range of text to be selected and focuses the field on the client side. The component will attempt to select the specified text range. If the provided indices are out of range, the actual client-side behavior may differ.- Specified by:
setSelectionRangein interfacecom.vaadin.flow.component.shared.HasTextSelection- Specified by:
setSelectionRangein interfaceInputSelectionCapable<String>- Parameters:
pos- the starting position of the selectionlength- the number of characters to select
-
getNullValueController
Description copied from interface:NullValueCapableReturns the controller that provides logic for handling null-value behavior.- Specified by:
getNullValueControllerin interfaceNullValueCapable<String>- Returns:
- the
NullValueControllerinstance
-
validate
public void validate()Description copied from interface:ValidatableChecks the validity of the validatable. If the validatable is valid this method should do nothing, and if it's not valid, it should throw
Validator.InvalidValueException- Specified by:
validatein interfaceValidatable- Overrides:
validatein classcom.vaadin.flow.component.textfield.PasswordField
-
getType
Description copied from interface:PropertyReturns the type of the Property. The methodsgetValueandsetValuemust be compatible with this type: one must be able to safely cast the value returned fromgetValueto the given type and pass any variable assignable to this type as an argument tosetValue. -
clear
public void clear()Description copied from interface:FAbstractTextFieldResets the value to the empty one.- Specified by:
clearin interfaceFAbstractTextField- Specified by:
clearin interfacecom.vaadin.flow.component.HasValue<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.PasswordField,String>, String>
-
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnlyin interfacecom.vaadin.flow.component.HasValue<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.PasswordField,String>, String> - Specified by:
isReadOnlyin interfacecom.vaadin.flow.component.HasValueAndElement<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.PasswordField,String>, String>
-
setReadOnly
public void setReadOnly(boolean readOnly) - Specified by:
setReadOnlyin interfacecom.vaadin.flow.component.HasValue<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.PasswordField,String>, String> - Specified by:
setReadOnlyin interfacecom.vaadin.flow.component.HasValueAndElement<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.PasswordField,String>, String>
-
setRequired
public void setRequired(boolean required) Description copied from interface:FieldSets the field required. Required fields must filled by the user.- Specified by:
setRequiredin interfaceField<String>- Overrides:
setRequiredin classcom.vaadin.flow.component.textfield.TextFieldBase<com.vaadin.flow.component.textfield.PasswordField,String> - Parameters:
required- Is the field required.
-
isRequired
public boolean isRequired()Description copied from interface:FieldIs this field required. Required fields must filled by the user.- Specified by:
isRequiredin interfaceField<String>- Overrides:
isRequiredin classcom.vaadin.flow.component.textfield.TextFieldBase<com.vaadin.flow.component.textfield.PasswordField,String> - Returns:
trueif the field is required,otherwisefalse.
-
onAttach
protected void onAttach(com.vaadin.flow.component.AttachEvent attachEvent) - Overrides:
onAttachin classcom.vaadin.flow.component.Component
-
onDetach
protected void onDetach(com.vaadin.flow.component.DetachEvent detachEvent) - Overrides:
onDetachin classcom.vaadin.flow.component.Component
-
fireEvent
protected void fireEvent(com.vaadin.flow.component.ComponentEvent<?> componentEvent) - Overrides:
fireEventin classcom.vaadin.flow.component.Component
-