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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    onAttach(com.vaadin.flow.component.AttachEvent attachEvent)
     
    void
    removeRouterLayoutContent(com.vaadin.flow.component.HasElement oldContent)
     
    void
    showRouterLayoutContent(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, setTitle

    Methods inherited from class com.vaadin.flow.component.login.AbstractLogin

    addForgotPasswordListener, addLoginListener, getAction, isError, isForgotPasswordButtonVisible, onEnabledStateChanged, setAction, setError, setForgotPasswordButtonVisible, setI18n

    Methods 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, setVisible

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.flow.component.AttachNotifier

    addAttachListener

    Methods inherited from interface com.vaadin.flow.component.DetachNotifier

    addDetachListener

    Methods inherited from interface com.vaadin.flow.component.HasElement

    getElement

    Methods inherited from interface com.vaadin.flow.component.HasEnabled

    isEnabled, setEnabled

    Methods inherited from interface com.vaadin.flow.component.HasStyle

    addClassName, addClassNames, getClassName, hasClassName, removeClassName, removeClassNames, setClassName

    Methods 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:
      showRouterLayoutContent in interface com.vaadin.flow.router.RouterLayout
    • removeRouterLayoutContent

      public void removeRouterLayoutContent(com.vaadin.flow.component.HasElement oldContent)
      Specified by:
      removeRouterLayoutContent in interface com.vaadin.flow.router.RouterLayout
    • onAttach

      protected void onAttach(com.vaadin.flow.component.AttachEvent attachEvent)
      Overrides:
      onAttach in class com.vaadin.flow.component.Component