Class MenuConfigHorizontalMenuItemProvider
java.lang.Object
io.jmix.flowui.menu.provider.MenuConfigMenuItemProvider<HorizontalMenu.AbstractMenuItem<?>>
io.jmix.flowui.component.horizontalmenu.MenuConfigHorizontalMenuItemProvider
- All Implemented Interfaces:
MenuItemProvider<HorizontalMenu.AbstractMenuItem<?>>
@Component("flowui_MenuConfigHorizontalMenuItemProvider")
@Scope("prototype")
public class MenuConfigHorizontalMenuItemProvider
extends MenuConfigMenuItemProvider<HorizontalMenu.AbstractMenuItem<?>>
Menu item provider for
HorizontalMenu
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.flowui.menu.provider.MenuItemProvider
MenuItemProvider.CollectionChangeEvent<T>
-
Field Summary
Fields inherited from class io.jmix.flowui.menu.provider.MenuConfigMenuItemProvider
events, menuConfig, menuItems, transformers
-
Constructor Summary
ConstructorDescriptionMenuConfigHorizontalMenuItemProvider
(MenuConfig menuConfig, HorizontalMenuItemConverter itemConverter) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<HorizontalMenu.AbstractMenuItem<?>>
convertToMenuItems
(Collection<MenuItem> menuConfigItems) Converts menu config item descriptors to menu items of specific implementationMethods inherited from class io.jmix.flowui.menu.provider.MenuConfigMenuItemProvider
addCollectionChangedListener, addMenuItemsTransformer, getMenuItems, load, removeMenuItemsTransformer, transformItems
-
Field Details
-
itemConverter
-
-
Constructor Details
-
Method Details
-
convertToMenuItems
protected List<HorizontalMenu.AbstractMenuItem<?>> convertToMenuItems(Collection<MenuItem> menuConfigItems) Description copied from class:MenuConfigMenuItemProvider
Converts menu config item descriptors to menu items of specific implementation- Specified by:
convertToMenuItems
in classMenuConfigMenuItemProvider<HorizontalMenu.AbstractMenuItem<?>>
- Parameters:
menuConfigItems
- menu config item descriptors- Returns:
- menu items of specific implementation
-