public static class Navigator.SingleComponentContainerViewDisplay extends Object implements ViewDisplay
SingleComponentContainer with the active View.
This display only supports views that are Components themselves.
Attempting to display a view that is not a component causes an exception
to be thrown.
| Constructor and Description |
|---|
SingleComponentContainerViewDisplay(SingleComponentContainer container)
Create new
ViewDisplay that updates a
SingleComponentContainer to show the view. |
| Modifier and Type | Method and Description |
|---|---|
void |
showView(View view)
Remove previously shown view and show the newly selected view in its
place.
|
public SingleComponentContainerViewDisplay(SingleComponentContainer container)
ViewDisplay that updates a
SingleComponentContainer to show the view.public void showView(View view)
ViewDisplayshowView in interface ViewDisplayview - new view to showCopyright © 2016 Vaadin Ltd. All rights reserved.