public final class ViewDisplayUtils extends Object implements Serializable
View display operations| Modifier and Type | Method and Description |
|---|---|
static com.vaadin.ui.Component |
getViewContent(com.vaadin.navigator.View view)
Get given
view content: if View is a ViewContentProvider, than
ViewContentProvider.getViewContent() is returned, else if view is a Component, view instance
itself is returned. |
public static com.vaadin.ui.Component getViewContent(com.vaadin.navigator.View view)
throws IllegalArgumentException
view content: if View is a ViewContentProvider, than
ViewContentProvider.getViewContent() is returned, else if view is a Component, view instance
itself is returned. Otherwise, a IllegalArgumentException is thrown.view - View for which retrieve the contentComponentIllegalArgumentException - if view instance is not a ViewContentProvider nor a ComponentCopyright © 2019 The Holon Platform. All rights reserved.