Interface ViewDisplay

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    Navigator.ComponentContainerViewDisplay, Navigator.SingleComponentContainerViewDisplay
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ViewDisplay
    extends java.io.Serializable
    Interface for displaying a view in an appropriate location. The view display can be a component/layout itself or can modify a separate layout.
    Since:
    7.0
    Author:
    Vaadin Ltd
    • Method Detail

      • showView

        void showView​(View view)
        Remove previously shown view and show the newly selected view in its place. The parameters for the view have been set before this method is called.
        Parameters:
        view - new view to show