Class PazienteT0View
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<com.vaadin.flow.component.orderedlayout.VerticalLayout>
it.uniupo.simnova.views.creation.paziente.PazienteT0View
- 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.HasUrlParameter<String>,- Serializable
@Route(value="pazienteT0",
       layout=MainLayout.class)
public class PazienteT0View
extends com.vaadin.flow.component.Composite<com.vaadin.flow.component.orderedlayout.VerticalLayout>
implements com.vaadin.flow.router.HasUrlParameter<String>
Vista per la gestione dei ***parametri del paziente al tempo T0** (iniziale) nello scenario di simulazione.
 Permette di definire i parametri vitali principali e di gestire gli accessi venosi e arteriosi,
 oltre a un campo per il monitoraggio e la selezione di presidi.
- Version:
- 1.0
- Author:
- Alessandro Zappatore
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionPazienteT0View(ScenarioService scenarioService, FileStorageService fileStorageService, PresidiService presidiService, PazienteT0Service pazienteT0Service) Costruttore della vistaPazienteT0View.
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetParameter(com.vaadin.flow.router.BeforeEvent event, String parameter) Gestisce il parametro dell'URL, che può includere l'ID dello scenario e la modalità (edit/create).Methods inherited from class com.vaadin.flow.component.CompositegetChildren, getContent, getElement, initContentMethods inherited from class com.vaadin.flow.component.ComponentaddListener, findAncestor, fireEvent, from, get, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, 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.HasStyleaddClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
- 
Constructor Details- 
PazienteT0Viewpublic PazienteT0View(ScenarioService scenarioService, FileStorageService fileStorageService, PresidiService presidiService, PazienteT0Service pazienteT0Service) Costruttore della vistaPazienteT0View. Inizializza i servizi e configura la struttura base dell'interfaccia utente, inclusi i campi per i parametri vitali e i controlli per gli accessi e i presidi.- Parameters:
- scenarioService- Servizio per la gestione degli scenari.
- fileStorageService- Servizio per la gestione dei file, utilizzato per l'AppHeader.
- presidiService- Servizio per la gestione dei presidi.
- pazienteT0Service- Servizio per la gestione dei parametri del paziente T0.
 
 
- 
- 
Method Details- 
setParameterpublic void setParameter(com.vaadin.flow.router.BeforeEvent event, @WildcardParameter String parameter) Gestisce il parametro dell'URL, che può includere l'ID dello scenario e la modalità (edit/create).- Specified by:
- setParameterin interface- com.vaadin.flow.router.HasUrlParameter<String>
- Parameters:
- event- L'evento di navigazione.
- parameter- La stringa del parametro URL (es. "123/edit").
- Throws:
- com.vaadin.flow.router.NotFoundException- Se l'ID dello scenario non è valido o mancante.
 
 
-