|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.navigator.Navigator.SingleComponentContainerViewDisplay
public static class Navigator.SingleComponentContainerViewDisplay
A ViewDisplay that replaces the contents of a
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 Summary | |
|---|---|
Navigator.SingleComponentContainerViewDisplay(SingleComponentContainer container)
Create new ViewDisplay that updates a
SingleComponentContainer to show the view. |
|
| Method Summary | |
|---|---|
void |
showView(View view)
Remove previously shown view and show the newly selected view in its place. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Navigator.SingleComponentContainerViewDisplay(SingleComponentContainer container)
ViewDisplay that updates a
SingleComponentContainer to show the view.
| Method Detail |
|---|
public void showView(View view)
ViewDisplay
showView in interface ViewDisplayview - new view to show
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||