Class MainLayout
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.applayout.AppLayout
it.uniupo.simnova.views.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
public class MainLayout
extends com.vaadin.flow.component.applayout.AppLayout
Layout principale dell'applicazione che gestisce le notifiche e l'interfaccia utente.
 Estende AppLayout per fornire una struttura di layout comune.
- Version:
- 1.0
- Author:
- Alessandro Zappatore
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class com.vaadin.flow.component.applayout.AppLayoutcom.vaadin.flow.component.applayout.AppLayout.AppLayoutI18n, com.vaadin.flow.component.applayout.AppLayout.Section
- 
Constructor SummaryConstructorsConstructorDescriptionMainLayout(NotifierService notifierService, ActiveNotifierManager activeNotifierManager) Costruttore che inizializza il layout principale con i servizi necessari.
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidonAttach(com.vaadin.flow.component.AttachEvent attachEvent) Metodo chiamato quando il layout viene allegato all'interfaccia utente.protected voidonDetach(com.vaadin.flow.component.DetachEvent detachEvent) Metodo chiamato quando il layout viene staccato dall'interfaccia utente.Methods inherited from class com.vaadin.flow.component.applayout.AppLayoutaddToDrawer, addToNavbar, addToNavbar, afterNavigation, getContent, getI18n, getPrimarySection, isDrawerOpened, isOverlay, remove, setContent, setDrawerOpened, setI18n, setPrimarySection, showRouterLayoutContentMethods inherited from class com.vaadin.flow.component.ComponentaddListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifieraddAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifieraddDetachListenerMethods inherited from interface com.vaadin.flow.component.HasElementgetElementMethods inherited from interface com.vaadin.flow.component.HasStyleaddClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods inherited from interface com.vaadin.flow.router.RouterLayoutremoveRouterLayoutContent
- 
Constructor Details- 
MainLayoutCostruttore che inizializza il layout principale con i servizi necessari.- Parameters:
- notifierService- il servizio per la gestione delle notifiche
- activeNotifierManager- il gestore delle notifiche attive
 
 
- 
- 
Method Details- 
onAttachprotected void onAttach(com.vaadin.flow.component.AttachEvent attachEvent) Metodo chiamato quando il layout viene allegato all'interfaccia utente. Registra il servizio di notifica per ricevere aggiornamenti e gestire le notifiche.- Overrides:
- onAttachin class- com.vaadin.flow.component.applayout.AppLayout
- Parameters:
- attachEvent- l'evento di allegamento dell'interfaccia utente
 
- 
onDetachprotected void onDetach(com.vaadin.flow.component.DetachEvent detachEvent) Metodo chiamato quando il layout viene staccato dall'interfaccia utente.- Overrides:
- onDetachin class- com.vaadin.flow.component.Component
- Parameters:
- detachEvent- l'evento di distacco dell'interfaccia utente
 
 
-