Class HorizontalMenuItemConverter
java.lang.Object
io.jmix.flowui.component.horizontalmenu.HorizontalMenuItemConverter
@Component("flowui_HorizontalMenuItemConverter")
public class HorizontalMenuItemConverter
extends Object
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected MenuConfig
protected MenuItemCommands
protected MessageTools
protected UiAccessChecker
protected ViewRegistry
-
Constructor Summary
ConstructorDescriptionHorizontalMenuItemConverter
(MenuConfig menuConfig, ViewRegistry viewRegistry, MessageTools messageTools, UiAccessChecker uiAccessChecker, MenuItemCommands menuItemCommands) -
Method Summary
Modifier and TypeMethodDescriptionprotected HorizontalMenu.MenuItem
createBeanMenuItem
(MenuItem menuItemDescriptor) protected HorizontalMenu.MenuItem
createMenuItem
(MenuItem menuItemDescriptor) createMenuItemWithChildren
(MenuItem menuItemDescriptor) protected HorizontalMenu.ParentMenuItem
createParentMenuItem
(MenuItem menuItemDescriptor) protected HorizontalMenu.SeparatorMenuItem
protected HorizontalMenu.MenuItem
createViewMenuItem
(MenuItem menuItemDescriptor) protected String
protected String[]
getClassNames
(MenuItem menuItem) protected String
getDescription
(MenuItem menuItem) protected com.vaadin.flow.component.icon.Icon
getViewClass
(MenuItem menuItem) protected boolean
isPermitted
(MenuItem menuItemDescriptor) protected boolean
isSupportedView
(Class<?> targetView) protected void
removeLastChildSeparators
(HorizontalMenu.ParentMenuItem parentMenuItem) Removes trailing child separators
-
Field Details
-
GENERATED_SEPARATOR_ID_PREFIX
- See Also:
-
viewRegistry
-
messageTools
-
uiAccessChecker
-
-
Constructor Details
-
Method Details
-
createSeparatorItem
-
generateSeparatorId
-
isSupportedView