Class MainLayout

  • All Implemented Interfaces:
    com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasStyle, com.vaadin.flow.router.RouterLayout, Serializable

    @CssImport("./styles/shared-styles.css") @CssImport(value="./styles/menu-buttons.css",themeFor="vaadin-button")
    public class MainLayout
    extends com.vaadin.flow.component.applayout.AppLayout
    The main layout. Contains the navigation menu.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.vaadin.flow.component.applayout.AppLayout

        com.vaadin.flow.component.applayout.AppLayout.AppLayoutI18n, com.vaadin.flow.component.applayout.AppLayout.Section
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String email
      String representing the user email
      static String userName
      String representing the user name
    • Constructor Summary

      Constructors 
      Constructor Description
      MainLayout()
      Constructor
    • Method Summary

      • Methods inherited from class com.vaadin.flow.component.applayout.AppLayout

        addToDrawer, addToNavbar, addToNavbar, afterNavigation, getContent, getI18n, getPrimarySection, isDrawerOpened, isOverlay, onAttach, remove, setContent, setDrawerOpened, setI18n, setPrimarySection, showRouterLayoutContent
      • 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, onEnabledStateChanged, scrollIntoView, set, setElement, setId, setVisible
      • 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.HasStyle

        addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
      • Methods inherited from interface com.vaadin.flow.router.RouterLayout

        removeRouterLayoutContent
    • Field Detail

      • userName

        public static String userName
        String representing the user name
      • email

        public static String email
        String representing the user email
    • Constructor Detail

      • MainLayout

        public MainLayout()
        Constructor