Class LoginLayout
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.login.AbstractLogin
com.vaadin.flow.component.login.LoginOverlay
com.flowingcode.vaadin.addons.extendedlogin.LoginLayout
- All Implemented Interfaces:
ReplaceableLoginOverlay,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,com.vaadin.flow.router.RouterLayout,Serializable
public class LoginLayout
extends com.vaadin.flow.component.login.LoginOverlay
implements com.vaadin.flow.router.RouterLayout, ReplaceableLoginOverlay
LoginOverlay based Layout that can be used to display views with a similar layout as the
LoginOverlay. It also provides methods for replacing part of the contents of the overlay.
- Author:
- mlopez
- See Also:
-
Nested Class Summary
Nested 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidonAttach(com.vaadin.flow.component.AttachEvent attachEvent) voidremoveRouterLayoutContent(com.vaadin.flow.component.HasElement oldContent) voidshowRouterLayoutContent(com.vaadin.flow.component.HasElement content) Methods inherited from class com.vaadin.flow.component.login.LoginOverlay
close, getClassNames, getDescription, getStyle, getTitle, getTitleAsText, isOpened, setClassName, setDescription, setOpened, setTitle, setTitleMethods inherited from class com.vaadin.flow.component.login.AbstractLogin
addForgotPasswordListener, addLoginListener, getAction, isError, isForgotPasswordButtonVisible, onEnabledStateChanged, setAction, setError, setForgotPasswordButtonVisible, setI18nMethods 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, 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, hasClassName, removeClassName, removeClassNames, setClassNameMethods inherited from interface com.flowingcode.vaadin.addons.extendedlogin.ReplaceableLoginOverlay
replaceForgotPassword, replaceFormComponents, replaceHeaderComponent
-
Constructor Details
-
LoginLayout
public LoginLayout()
-
-
Method Details
-
showRouterLayoutContent
public void showRouterLayoutContent(com.vaadin.flow.component.HasElement content) - Specified by:
showRouterLayoutContentin interfacecom.vaadin.flow.router.RouterLayout
-
removeRouterLayoutContent
public void removeRouterLayoutContent(com.vaadin.flow.component.HasElement oldContent) - Specified by:
removeRouterLayoutContentin interfacecom.vaadin.flow.router.RouterLayout
-
onAttach
protected void onAttach(com.vaadin.flow.component.AttachEvent attachEvent) - Overrides:
onAttachin classcom.vaadin.flow.component.Component
-