Interface JmixUserMenu.HasMenuItem
- All Known Implementing Classes:
JmixUserMenu.AbstractTextUserMenuItem,JmixUserMenu.AbstractUserMenuItem,JmixUserMenu.ActionUserMenuItemImpl,JmixUserMenu.ComponentUserMenuItemImpl,JmixUserMenu.TextUserMenuItemImpl,UserMenu.ViewUserMenuItemImpl
- Enclosing class:
- JmixUserMenu<USER>
protected static interface JmixUserMenu.HasMenuItem
Represents a component that has an associated
MenuItem.
This interface is typically used to provide access to the linked menu item
for components or entities that function as a user menu item.-
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.component.contextmenu.MenuItemgetItem()Returns the associatedMenuItem.
-
Method Details
-
getItem
com.vaadin.flow.component.contextmenu.MenuItem getItem()Returns the associatedMenuItem.- Returns:
- the
MenuIteminstance linked to this user menu item
-