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 Type
    Method
    Description
    com.vaadin.flow.component.contextmenu.MenuItem
    Returns the associated MenuItem.
  • Method Details

    • getItem

      com.vaadin.flow.component.contextmenu.MenuItem getItem()
      Returns the associated MenuItem.
      Returns:
      the MenuItem instance linked to this user menu item