Uses of Class
com.vaadin.flow.component.contextmenu.MenuItemBase
Packages that use MenuItemBase
Package
Description
-
Uses of MenuItemBase in com.vaadin.browserless.internal
Methods in com.vaadin.browserless.internal with type parameters of type MenuItemBaseModifier and TypeMethodDescriptionstatic <C extends ContextMenuBase<C,I, S>, I extends MenuItemBase<C, I, S>, S extends SubMenuBase<C, I, S>>
IMenuItemNavigation.findByPath(List<I> rootItems, int topLevelPosition, int... nestedItemsPositions) Finds the menu item addressed by the given position path.static <C extends ContextMenuBase<C,I, S>, I extends MenuItemBase<C, I, S>, S extends SubMenuBase<C, I, S>>
IMenuItemNavigation.findByPath(List<I> rootItems, String topLevelText, String... nestedItemsText) Finds the menu item addressed by the given text path.static <C extends ContextMenuBase<C,I, S>, I extends MenuItemBase<C, I, S>, S extends SubMenuBase<C, I, S>>
List<String> MenuItemNavigation.visibleSubMenuTexts(List<I> rootItems, String topLevelText, String... nestedItemsText) Gets the texts of the visible items of the sub menu of the item addressed by the given text path.Methods in com.vaadin.browserless.internal with parameters of type MenuItemBaseModifier and TypeMethodDescriptionstatic voidMenuItemNavigation.requireCheckable(MenuItemBase<?, ?, ?> menuItem, String path) Ensures that the given menu item is checkable, as only a checkable item has a checked state to read.Method parameters in com.vaadin.browserless.internal with type arguments of type MenuItemBaseModifier and TypeMethodDescriptionMenuItemNavigation.visibleTexts(List<? extends MenuItemBase<?, ?, ?>> items) Gets the texts of the given menu items as the browser shows them, i.e.