Class JmixLoginForm
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.login.AbstractLogin
com.vaadin.flow.component.login.LoginForm
io.jmix.flowui.kit.component.loginform.EnhancedLoginForm
io.jmix.flowui.component.loginform.JmixLoginForm
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,com.vaadin.flow.component.HasStyle,Serializable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
public class JmixLoginForm
extends EnhancedLoginForm
implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.kit.component.loginform.EnhancedLoginForm
EnhancedLoginForm.JmixLocaleChangedEvent, EnhancedLoginForm.JmixRememberMeChangedEvent, EnhancedLoginForm.LocaleChangedEvent, EnhancedLoginForm.RememberMeChangedEventNested classes/interfaces inherited from class com.vaadin.flow.component.login.AbstractLogin
com.vaadin.flow.component.login.AbstractLogin.ForgotPasswordEvent, com.vaadin.flow.component.login.AbstractLogin.LoginEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected MessageToolsFields inherited from class io.jmix.flowui.kit.component.loginform.EnhancedLoginForm
localeItemLabelGenerator, locales, rememberMe, selectedLocale, visibilitySetExplicitly -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected StringapplyDefaultValueFormat(Locale locale) protected voidprotected LocalelocaleFromString(String locale) protected StringlocaleToString(Locale locale) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) protected voidsetupLocale(Locale locale) Methods inherited from class io.jmix.flowui.kit.component.loginform.EnhancedLoginForm
addLocaleChangedListener, addRememberMeChangedListener, fireLocaleChangedEvent, generateItemLabel, getLocaleItemLabelGenerator, getPassword, getSelectedLocale, getUsername, handleLocaleChanged, handleRememberMeChanged, isLocaleChanged, isLocalesVisible, isRememberMe, isRememberMeChanged, isRememberMeVisible, onLocaleChangedEvent, onRememberMeChangedEvent, setLocaleItemLabelGenerator, setLocaleItems, setLocalesVisible, setLocalesVisibleInternal, setPassword, setRememberMe, setRememberMeVisible, setSelectedLocale, setUsernameMethods inherited from class com.vaadin.flow.component.login.AbstractLogin
addForgotPasswordListener, addLoginListener, getAction, isError, isForgotPasswordButtonVisible, onEnabledStateChanged, setAction, setError, setForgotPasswordButtonVisible, setI18n, showErrorMessageMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods 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.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabledMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
messageTools
-
-
Constructor Details
-
JmixLoginForm
public JmixLoginForm()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
autowireDependencies
protected void autowireDependencies() -
setupLocale
- Overrides:
setupLocalein classEnhancedLoginForm
-
localeToString
- Overrides:
localeToStringin classEnhancedLoginForm
-
localeFromString
- Overrides:
localeFromStringin classEnhancedLoginForm
-
applyDefaultValueFormat
- Overrides:
applyDefaultValueFormatin classEnhancedLoginForm
-