public static interface SideBar.ItemComponentFactory
SideBarItemDescriptor.itemInvoked(com.vaadin.ui.UI)
must be called.
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.
| Modifier and Type | Method and Description |
|---|---|
Component |
createItemComponent(SideBarItemDescriptor descriptor)
Creates a component to be added to a side bar section by a
SideBar.SectionComponentFactory. |
Component createItemComponent(SideBarItemDescriptor descriptor)
SideBar.SectionComponentFactory.
Remember to call SideBarItemDescriptor.itemInvoked(com.vaadin.ui.UI) when the item
is clicked by the user.descriptor - the descriptor of the side bar item, must not be null.null.Copyright © 2015. All rights reserved.