Class StandardMainView

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.view.View<JmixAppLayout>
io.jmix.flowui.app.main.StandardMainView
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.AfterNavigationObserver, com.vaadin.flow.router.BeforeEnterObserver, com.vaadin.flow.router.BeforeLeaveObserver, com.vaadin.flow.router.HasDynamicTitle, com.vaadin.flow.router.internal.AfterNavigationHandler, com.vaadin.flow.router.internal.BeforeEnterHandler, com.vaadin.flow.router.internal.BeforeLeaveHandler, com.vaadin.flow.router.RouterLayout, FragmentOwner, Serializable

public class StandardMainView extends View<JmixAppLayout> implements com.vaadin.flow.router.RouterLayout
Base class of main views containing AppLayout.
See Also:
  • Constructor Details

    • StandardMainView

      public StandardMainView()
  • Method Details

    • showRouterLayoutContent

      public void showRouterLayoutContent(@Nullable com.vaadin.flow.component.HasElement content)
      Specified by:
      showRouterLayoutContent in interface com.vaadin.flow.router.RouterLayout
    • afterNavigation

      public void afterNavigation(com.vaadin.flow.router.AfterNavigationEvent event)
      Specified by:
      afterNavigation in interface com.vaadin.flow.router.internal.AfterNavigationHandler
      Overrides:
      afterNavigation in class View<JmixAppLayout>
    • updateTitle

      protected void updateTitle()
    • getTitleComponent

      protected Optional<com.vaadin.flow.component.Component> getTitleComponent()
    • getTitleFromOpenedView

      protected String getTitleFromOpenedView()
    • getInitialLayout

      @Nullable public com.vaadin.flow.component.Component getInitialLayout()
      Returns:
      a component that is displayed if no view is opened.
    • setInitialLayout

      public void setInitialLayout(@Nullable com.vaadin.flow.component.Component initialLayout)
      Sets a component that is displayed if no view is opened.
      Parameters:
      initialLayout - a component to display
      See Also: