Vaadin App Layout is a component providing a quick and easy way to get a common application layout structure done.
Apache License 2.0
Add App Layout to your project:
<dependencies>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-app-layout-flow</artifactId>
<version>1.0.3</version>
</dependency>
</dependencies>
public class AppLayoutView extends AbstractAppRouterLayout {
@Override
protected void configure(AppLayout appLayout, AppLayoutMenu appLayoutMenu) {
appLayout.setBranding(new Span("App Name").getElement());
appLayoutMenu.addMenuItem(new AppLayoutMenuItem("About Company", "about"));
}
}
/* Annotate AboutPage with @ParentLayout(AppLayoutView.class) */