|-------------| | Section | |-------------| | Item | | Item | | Item | | | |-------------| | Section | |-------------| | Section | |-------------|
The sections and items are declared using the {@link org.vaadin.spring.stuff.sidebar.SideBarSection} and {@link org.vaadin.spring.stuff.sidebar.SideBarItem} annotations, respectively.To use this side bar, simply enable it in your application configuration using the {@link org.vaadin.spring.stuff.sidebar.EnableSideBar} annotation,and inject it into your UI.
The side bar comes with a simple theme. In most cases, you probably want to change the styles to make the look and feel of the side bar more compatible with your application. Please see the {@code VAADIN/addons/sidebar/sidebar.css} file in the resources directory.
If you want to customize the components that are added to the accordion, implement {@link org.vaadin.spring.stuff.sidebar.SideBar.SectionComponentFactory} and/or {@link org.vaadin.spring.stuff.sidebar.SideBar.ItemComponentFactory}. @author Petter Holmström (petter@vaadin.com)
|
|