Class MainView

  • All Implemented Interfaces:
    com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.router.HasDynamicTitle, com.vaadin.flow.router.RouterLayout, java.io.Serializable, JobEventListener

    @Route("")
    @PreserveOnRefresh
    @Theme(value=com.vaadin.flow.theme.lumo.Lumo.class,
           variant="dark")
    @CssImport(value="./styles/job-grid-theme.css",themeFor="vaadin-grid") @CssImport("./styles/bauta-styles.css")
    @Viewport("width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes, viewport-fit=cover")
    @DependsOn("bautaManager")
    @Secured({"ROLE_BATCH_VIEW","ROLE_BATCH_EXECUTE","ROLE_ADMIN"})
    public class MainView
    extends com.vaadin.flow.component.applayout.AppLayout
    implements JobEventListener, com.vaadin.flow.router.HasDynamicTitle
    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.Section
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected com.vaadin.flow.component.Component createJobHistory​(java.lang.String jobName)  
      java.lang.String getPageTitle()  
      protected void onAttach​(com.vaadin.flow.component.AttachEvent attachEvent)  
      protected void onDetach​(com.vaadin.flow.component.DetachEvent detachEvent)  
      void onJobChange​(JobInstanceInfo jobInstanceInfo)  
      void onStepChange​(BasicJobInstanceInfo basicJobInstanceInfo, StepInfo stepInfo)  
      void openDateTimeDialog​(com.vaadin.flow.component.combobox.ComboBox cbShowTimeList)  
      • Methods inherited from class com.vaadin.flow.component.applayout.AppLayout

        addToDrawer, addToNavbar, addToNavbar, afterNavigation, getContent, getPrimarySection, isDrawerOpened, isOverlay, remove, setContent, setDrawerOpened, setPrimarySection, showRouterLayoutContent
      • Methods inherited from class com.vaadin.flow.component.Component

        addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onEnabledStateChanged, set, setElement, setId, setVisible
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • 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.router.RouterLayout

        removeRouterLayoutContent
    • Constructor Detail

      • MainView

        public MainView​(@Autowired
                        SchedulingView schedulingView)
    • Method Detail

      • onAttach

        protected void onAttach​(com.vaadin.flow.component.AttachEvent attachEvent)
        Overrides:
        onAttach in class com.vaadin.flow.component.Component
      • onDetach

        protected void onDetach​(com.vaadin.flow.component.DetachEvent detachEvent)
        Overrides:
        onDetach in class com.vaadin.flow.component.Component
      • createJobHistory

        protected com.vaadin.flow.component.Component createJobHistory​(java.lang.String jobName)
      • openDateTimeDialog

        public void openDateTimeDialog​(com.vaadin.flow.component.combobox.ComboBox cbShowTimeList)
      • getPageTitle

        public java.lang.String getPageTitle()
        Specified by:
        getPageTitle in interface com.vaadin.flow.router.HasDynamicTitle