| Package | Description |
|---|---|
| com.vaadin.navigator |
| Modifier and Type | Class and Description |
|---|---|
static class |
Navigator.ClassBasedViewProvider
A ViewProvider which maps a single view name to a class to instantiate
for the view.
|
static class |
Navigator.StaticViewProvider
A ViewProvider which supports mapping a single view name to a single
pre-initialized view instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected ViewProvider |
Navigator.getViewProvider(String state)
Get view provider that handles the given
state. |
| Modifier and Type | Method and Description |
|---|---|
void |
Navigator.addProvider(ViewProvider provider)
Registers a view provider (factory).
|
void |
Navigator.removeProvider(ViewProvider provider)
Unregister a view provider (factory).
|
void |
Navigator.setErrorProvider(ViewProvider provider)
Registers a view provider that is queried for a view when no other view
matches the navigation state.
|
Copyright © 2019 Vaadin Ltd. All rights reserved.