public class MprNavigator
extends com.vaadin.navigator.Navigator
Navigator and Flow Router.com.vaadin.navigator.Navigator.ClassBasedViewProvider, com.vaadin.navigator.Navigator.ComponentContainerViewDisplay, com.vaadin.navigator.Navigator.EmptyView, com.vaadin.navigator.Navigator.SingleComponentContainerViewDisplay, com.vaadin.navigator.Navigator.StaticViewProvider, com.vaadin.navigator.Navigator.UriFragmentManager| Modifier | Constructor and Description |
|---|---|
|
MprNavigator(com.vaadin.ui.UI ui,
Class<? extends AbstractMprNavigatorRoute> mprNavigatorRoute)
MprNavigator constructor.
|
|
MprNavigator(com.vaadin.ui.UI ui,
Class<? extends AbstractMprNavigatorRoute> mprNavigatorRoute,
com.vaadin.ui.ComponentContainer container)
Constructor with given component container instance.
|
protected |
MprNavigator(com.vaadin.ui.UI ui,
com.vaadin.ui.ComponentContainer container)
MprNavigator override to get the used ComponentContainer for adding as a
AbstractLegacyWrapper component. |
| Modifier and Type | Method and Description |
|---|---|
com.vaadin.ui.ComponentContainer |
getViewDisplay()
Get the view display used for showing the active view.
|
void |
navigateTo(String navigationState) |
addProvider, addView, addView, addViewChangeListener, beforeViewChange, destroy, fireAfterViewChange, fireBeforeViewChange, getCurrentView, getDisplay, getState, getStateManager, getUI, init, navigateTo, removeProvider, removeView, removeViewChangeListener, revertNavigation, setErrorProvider, setErrorView, setErrorView, switchView, updateNavigationStatepublic MprNavigator(com.vaadin.ui.UI ui,
Class<? extends AbstractMprNavigatorRoute> mprNavigatorRoute)
ui - legacy UI instance of this navigatormprNavigatorRoute - Flow view containing navigator component containerpublic MprNavigator(com.vaadin.ui.UI ui,
Class<? extends AbstractMprNavigatorRoute> mprNavigatorRoute,
com.vaadin.ui.ComponentContainer container)
ui - legacy UI instance of this navigatormprNavigatorRoute - Flow view containing navigator component containercontainer - The ComponentContainer whose contents should be replaced with
the active view on view changeprotected MprNavigator(com.vaadin.ui.UI ui,
com.vaadin.ui.ComponentContainer container)
AbstractLegacyWrapper component.ui - legacy UI instance of this navigatorcontainer - The ComponentContainer whose contents should be replaced with
the active view on view changepublic void navigateTo(String navigationState)
navigateTo in class com.vaadin.navigator.Navigatorpublic com.vaadin.ui.ComponentContainer getViewDisplay()
Copyright © 2018–2020 Vaadin Ltd. All rights reserved.