Package io.jmix.ui.component
Interface PasswordField
- All Superinterfaces:
Buffered,Component,Component.BelongToFrame,Component.Editable,Component.Focusable,Component.HasCaption,Component.HasDescription,Component.HasIcon,Field<String>,HasContextHelp,HasHtmlCaption,HasHtmlDescription,HasHtmlSanitizer,HasInputPrompt,HasValidator<String>,HasValue<String>,HasValueSource<String>,Requirable,TextInputField<String>,TextInputField.HtmlNameSupported,TextInputField.MaxLengthLimited,Validatable
- All Known Implementing Classes:
PasswordFieldImpl
@StudioComponent(caption="PasswordField",
category="Components",
xmlElement="passwordField",
icon="io/jmix/ui/icon/component/passwordField.svg",
canvasBehaviour=INPUT_FIELD,
documentationURL="https://docs.jmix.io/jmix/%VERSION%/ui/vcl/components/password-field.html")
public interface PasswordField
extends TextInputField<String>, TextInputField.MaxLengthLimited, HasInputPrompt, TextInputField.HtmlNameSupported
A field that is used to enter secret text information like passwords. The entered text is not displayed on the screen.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.component.Component
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.WrapperNested classes/interfaces inherited from interface io.jmix.ui.component.HasContextHelp
HasContextHelp.ContextHelpIconClickEventNested classes/interfaces inherited from interface io.jmix.ui.component.HasValue
HasValue.ValueChangeEvent<V>Nested classes/interfaces inherited from interface io.jmix.ui.component.TextInputField
TextInputField.CaseConversion, TextInputField.CaseConversionSupported, TextInputField.CursorPositionSupported, TextInputField.EnterPressEvent, TextInputField.EnterPressNotifier, TextInputField.HtmlNameSupported, TextInputField.MaxLengthLimited, TextInputField.TextChangeEvent, TextInputField.TextChangeEventMode, TextInputField.TextChangeNotifier, TextInputField.TextSelectionSupported, TextInputField.TrimSupported -
Field Summary
FieldsFields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn autocomplete attribute value to specify saving it in browser.voidsetAutocomplete(Boolean autocomplete) Set autocomplete attribute value to specify saving it in browser.voidsetCapsLockIndicator(CapsLockIndicator capsLockIndicator) Sets CapsLockIndicator component, that will be indicate when caps lock key is active.Methods inherited from interface io.jmix.ui.component.Buffered
commit, discard, isBuffered, isModified, setBufferedMethods inherited from interface io.jmix.ui.component.Component
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositionMethods inherited from interface io.jmix.ui.component.Component.BelongToFrame
getFrame, setFrameMethods inherited from interface io.jmix.ui.component.Component.Editable
isEditable, isEditableWithParent, setEditableMethods inherited from interface io.jmix.ui.component.Component.Focusable
focus, getTabIndex, isFocusable, setFocusable, setTabIndexMethods inherited from interface io.jmix.ui.component.Component.HasCaption
getCaption, setCaptionMethods inherited from interface io.jmix.ui.component.Component.HasDescription
getDescription, setDescriptionMethods inherited from interface io.jmix.ui.component.Component.HasIcon
getIcon, setIcon, setIconFromSetMethods inherited from interface io.jmix.ui.component.HasContextHelp
getContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabledMethods inherited from interface io.jmix.ui.component.HasHtmlCaption
isCaptionAsHtml, setCaptionAsHtmlMethods inherited from interface io.jmix.ui.component.HasHtmlDescription
isDescriptionAsHtml, setDescriptionAsHtmlMethods inherited from interface io.jmix.ui.component.HasHtmlSanitizer
isHtmlSanitizerEnabled, setHtmlSanitizerEnabledMethods inherited from interface io.jmix.ui.component.HasInputPrompt
getInputPrompt, setInputPromptMethods inherited from interface io.jmix.ui.component.HasValidator
addValidator, addValidators, getValidators, removeValidatorMethods inherited from interface io.jmix.ui.component.HasValue
addValueChangeListener, clear, getEmptyValue, getValue, isEmpty, setValueMethods inherited from interface io.jmix.ui.component.data.HasValueSource
getValueSource, setValueSourceMethods inherited from interface io.jmix.ui.component.Requirable
getRequiredMessage, isRequired, setRequired, setRequiredMessageMethods inherited from interface io.jmix.ui.component.TextInputField.HtmlNameSupported
getHtmlName, setHtmlNameMethods inherited from interface io.jmix.ui.component.TextInputField.MaxLengthLimited
getMaxLength, setMaxLengthMethods inherited from interface io.jmix.ui.component.Validatable
isValid, isValidateOnCommit, validate
-
Field Details
-
NAME
- See Also:
-
-
Method Details
-
isAutocomplete
boolean isAutocomplete()Return autocomplete attribute value to specify saving it in browser. -
setAutocomplete
Set autocomplete attribute value to specify saving it in browser. False value disables saving passwords in browser. -
setCapsLockIndicator
@StudioProperty(type=COMPONENT_REF, options="io.jmix.ui.component.CapsLockIndicator") void setCapsLockIndicator(@Nullable CapsLockIndicator capsLockIndicator) Sets CapsLockIndicator component, that will be indicate when caps lock key is active.- Parameters:
capsLockIndicator- capsLockIndicator component
-
getCapsLockIndicator
- Returns:
- capsLockIndicator component
-