public class ValoSideBar.DefaultItemComponentFactory extends Object implements AbstractSideBar.ItemComponentFactory
ValoSideBar.ItemComponentFactory that creates
Buttons.| Constructor and Description |
|---|
DefaultItemComponentFactory() |
| Modifier and Type | Method and Description |
|---|---|
Component |
createItemComponent(SideBarItemDescriptor descriptor)
Creates a component to be added to a side bar section by a
AccordionSideBar.SectionComponentFactory. |
public Component createItemComponent(SideBarItemDescriptor descriptor)
AbstractSideBar.ItemComponentFactoryAccordionSideBar.SectionComponentFactory.
Remember to call SideBarItemDescriptor.itemInvoked(com.vaadin.ui.UI) when the item
is clicked by the user.createItemComponent in interface AbstractSideBar.ItemComponentFactorydescriptor - the descriptor of the side bar item, must not be null.null.Copyright © 2016. All rights reserved.