public abstract class AbstractAppRouterLayout extends Object implements com.vaadin.flow.router.RouterLayout
configure method.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAppRouterLayout() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterNavigate(String route,
com.vaadin.flow.component.HasElement content)
This hook is called after a navigation is made into a route
which has this router layout as its parent layout.
|
protected void |
beforeNavigate(String route,
com.vaadin.flow.component.HasElement content)
This hook is called before a navigation is being made into a route
which has this router layout as its parent layout.
|
protected abstract void |
configure(AppLayout appLayout,
AppLayoutMenu appLayoutMenu)
This hook is called when this router layout is being constructed
and provides an opportunity to configure the AppLayout in use.
|
AppLayout |
getAppLayout() |
AppLayoutMenu |
getAppLayoutMenu() |
com.vaadin.flow.dom.Element |
getElement() |
void |
showRouterLayoutContent(com.vaadin.flow.component.HasElement content) |
protected abstract void configure(AppLayout appLayout, AppLayoutMenu appLayoutMenu)
appLayout - AppLayout parent layoutappLayoutMenu - AppLayoutMenu to configure.protected void beforeNavigate(String route, com.vaadin.flow.component.HasElement content)
route - route that is being navigated tocontent - HasElement the content component being addedprotected void afterNavigate(String route, com.vaadin.flow.component.HasElement content)
route - route navigated tocontent - HasElement the content component addedpublic void showRouterLayoutContent(com.vaadin.flow.component.HasElement content)
showRouterLayoutContent in interface com.vaadin.flow.router.RouterLayoutpublic com.vaadin.flow.dom.Element getElement()
getElement in interface com.vaadin.flow.component.HasElementpublic AppLayoutMenu getAppLayoutMenu()
AppLayoutMenu which will be updated on navigation.Copyright © 2018–2019 Vaadin Ltd. All rights reserved.