Class StartCreationView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<com.vaadin.flow.component.orderedlayout.VerticalLayout>
it.uniupo.simnova.views.creation.StartCreationView
- 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="startCreation",
       layout=MainLayout.class)
public class StartCreationView
extends com.vaadin.flow.component.Composite<com.vaadin.flow.component.orderedlayout.VerticalLayout>
implements com.vaadin.flow.router.HasUrlParameter<String>
Vista per l'inizio della creazione di uno scenario.
 Permette l'inserimento dei dettagli iniziali come titolo, paziente, patologia e durata.
- Version:
- 1.1
- Author:
- Alessandro Zappatore
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionStartCreationView(ScenarioService scenarioService, FileStorageService fileStorageService, AdvancedScenarioService advancedScenarioService, PatientSimulatedScenarioService patientSimulatedScenarioService) Costruttore che inizializza la vista e configura i campi di input.
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetParameter(com.vaadin.flow.router.BeforeEvent event, String parameter) Gestisce il parametro dell'URL, impostando il tipo di scenario.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- 
StartCreationViewpublic StartCreationView(ScenarioService scenarioService, FileStorageService fileStorageService, AdvancedScenarioService advancedScenarioService, PatientSimulatedScenarioService patientSimulatedScenarioService) Costruttore che inizializza la vista e configura i campi di input.- Parameters:
- scenarioService- Servizio per la gestione degli scenari.
- fileStorageService- Servizio per la gestione dei file.
- advancedScenarioService- Servizio specifico per scenari avanzati.
- patientSimulatedScenarioService- Servizio specifico per scenari con paziente simulato.
 
 
- 
- 
Method Details- 
setParameterpublic void setParameter(com.vaadin.flow.router.BeforeEvent event, @OptionalParameter String parameter) Gestisce il parametro dell'URL, impostando il tipo di scenario.- Specified by:
- setParameterin interface- com.vaadin.flow.router.HasUrlParameter<String>
- Parameters:
- event- L'evento di navigazione.
- parameter- Il tipo di scenario ricevuto dall'URL.
 
 
-