|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vaadin.navigator.Navigator.ComponentContainerViewDisplay
public static class Navigator.ComponentContainerViewDisplay
A ViewDisplay that replaces the contents of a ComponentContainer
with the active View
.
All components of the container are removed before adding the new view to it.
This display only supports views that are Component
s themselves.
Attempting to display a view that is not a component causes an exception
to be thrown.
Constructor Summary | |
---|---|
Navigator.ComponentContainerViewDisplay(ComponentContainer container)
Create new ViewDisplay that updates a
ComponentContainer 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.ComponentContainerViewDisplay(ComponentContainer container)
ViewDisplay
that updates a
ComponentContainer
to show the view.
Method Detail |
---|
public void showView(View view)
ViewDisplay
showView
in interface ViewDisplay
view
- new view to show
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |