Package se.ikama.bauta.ui
Class MainView
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.applayout.AppLayout
-
- se.ikama.bauta.ui.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
-
-
Constructor Summary
Constructors Constructor Description MainView(SchedulingView schedulingView)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.vaadin.flow.component.ComponentcreateJobHistory(java.lang.String jobName)java.lang.StringgetPageTitle()protected voidonAttach(com.vaadin.flow.component.AttachEvent attachEvent)protected voidonDetach(com.vaadin.flow.component.DetachEvent detachEvent)voidonJobChange(JobInstanceInfo jobInstanceInfo)voidonStepChange(BasicJobInstanceInfo basicJobInstanceInfo, StepInfo stepInfo)voidopenDateTimeDialog(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
-
-
-
-
Constructor Detail
-
MainView
public MainView(@Autowired SchedulingView schedulingView)
-
-
Method Detail
-
onAttach
protected void onAttach(com.vaadin.flow.component.AttachEvent attachEvent)
- Overrides:
onAttachin classcom.vaadin.flow.component.Component
-
onDetach
protected void onDetach(com.vaadin.flow.component.DetachEvent detachEvent)
- Overrides:
onDetachin classcom.vaadin.flow.component.Component
-
createJobHistory
protected com.vaadin.flow.component.Component createJobHistory(java.lang.String jobName)
-
onJobChange
public void onJobChange(JobInstanceInfo jobInstanceInfo)
- Specified by:
onJobChangein interfaceJobEventListener
-
onStepChange
public void onStepChange(BasicJobInstanceInfo basicJobInstanceInfo, StepInfo stepInfo)
- Specified by:
onStepChangein interfaceJobEventListener
-
openDateTimeDialog
public void openDateTimeDialog(com.vaadin.flow.component.combobox.ComboBox cbShowTimeList)
-
getPageTitle
public java.lang.String getPageTitle()
- Specified by:
getPageTitlein interfacecom.vaadin.flow.router.HasDynamicTitle
-
-