public class SideBar.DefaultItemComponentFactory extends Object implements SideBar.ItemComponentFactory
SideBar.ItemComponentFactory that creates
NativeButtons.| 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
SideBar.SectionComponentFactory. |
public Component createItemComponent(SideBarItemDescriptor descriptor)
SideBar.ItemComponentFactorySideBar.SectionComponentFactory.
Remember to call SideBarItemDescriptor.itemInvoked(com.vaadin.ui.UI) when the item
is clicked by the user.createItemComponent in interface SideBar.ItemComponentFactorydescriptor - the descriptor of the side bar item, must not be null.null.Copyright © 2015. All rights reserved.