public static interface SideBar.SectionComponentFactory
SideBar.
If you want to use your own factory, make a Spring managed bean that implements this interface.
It will automatically be used by the SideBar.
TabSheet.addTab(com.vaadin.ui.Component)| Modifier and Type | Method and Description |
|---|---|
Component |
createSectionComponent(SideBarSectionDescriptor descriptor,
Collection<SideBarItemDescriptor> itemDescriptors)
Creates a component to be added as a tab to the
SideBar. |
void |
setItemComponentFactory(SideBar.ItemComponentFactory itemComponentFactory)
Sets the
ItemComponentFactory to use when creating the items of the section. |
void setItemComponentFactory(SideBar.ItemComponentFactory itemComponentFactory)
ItemComponentFactory to use when creating the items of the section.itemComponentFactory - the item component factory, must not be null.Component createSectionComponent(SideBarSectionDescriptor descriptor, Collection<SideBarItemDescriptor> itemDescriptors)
SideBar.descriptor - the descriptor of the side bar section, must not be null.itemDescriptors - the descriptors of the items to be added to the section, must not be null.null.TabSheet.addTab(com.vaadin.ui.Component)Copyright © 2015. All rights reserved.