Class AzionechiaveView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<com.vaadin.flow.component.orderedlayout.VerticalLayout>
it.uniupo.simnova.views.creation.scenario.AzionechiaveView
- 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="azionechiave",
       layout=MainLayout.class)
public class AzionechiaveView
extends com.vaadin.flow.component.Composite<com.vaadin.flow.component.orderedlayout.VerticalLayout>
implements com.vaadin.flow.router.HasUrlParameter<String>
Vista per la gestione e definizione delle azioni chiave in uno scenario di simulazione.
 Questa vista permette agli utenti di inserire le azioni principali che saranno
 utilizzate e valutate durante la fase di debriefing dello scenario.
 
 Implementa HasUrlParameter per ricevere l'ID dello scenario tramite l'URL,
 garantendo la continuità nel flusso di creazione o modifica dello scenario.
 
- Version:
- 1.1
- Author:
- Alessandro Zappatore
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionAzionechiaveView(ScenarioService scenarioService, FileStorageService fileStorageService, AzioneChiaveService azioneChiaveService) Costruisce una nuova istanza diAzionechiaveView.
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetParameter(com.vaadin.flow.router.BeforeEvent event, String parameter) Implementazione del metodoHasUrlParameter.setParameter(BeforeEvent, Object)per gestire l'ID dello scenario passato tramite l'URL.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- 
AzionechiaveViewpublic AzionechiaveView(ScenarioService scenarioService, FileStorageService fileStorageService, AzioneChiaveService azioneChiaveService) Costruisce una nuova istanza diAzionechiaveView. Inizializza l'interfaccia utente e configura i listener per i bottoni di navigazione e aggiunta/rimozione azioni.- Parameters:
- scenarioService- Il servizio per la gestione degli scenari.
- fileStorageService- Il servizio per la gestione dei file, utilizzato per l'intestazione dell'applicazione.
- azioneChiaveService- Il servizio per la gestione delle azioni chiave.
 
 
- 
- 
Method Details- 
setParameterpublic void setParameter(com.vaadin.flow.router.BeforeEvent event, @OptionalParameter String parameter) Implementazione del metodoHasUrlParameter.setParameter(BeforeEvent, Object)per gestire l'ID dello scenario passato tramite l'URL. Questo metodo è invocato automaticamente da Vaadin all'apertura della vista.
 
-