Uses of Class
org.patternfly.component.menu.MenuItem
Packages that use MenuItem
Package
Description
Provides menu components for building dropdowns, selects, and general-purpose menus.
-
Uses of MenuItem in org.patternfly.component.menu
Subclasses with type arguments of type MenuItem in org.patternfly.component.menuSubinterfaces with type arguments of type MenuItem in org.patternfly.component.menuModifier and TypeInterfaceDescriptioninterfaceRepresents a search filter for menu items.Classes in org.patternfly.component.menu that implement interfaces with type arguments of type MenuItemModifier and TypeClassDescriptionclassAn individual selectable item within aMenucomponent.classAn individual selectable item within aMenucomponent.classAn individual selectable item within aMenucomponent.classAn individual selectable item within aMenucomponent.classAn individual selectable item within aMenucomponent.classAn individual selectable item within aMenucomponent.classclassFields in org.patternfly.component.menu declared as MenuItemMethods in org.patternfly.component.menu that return MenuItemModifier and TypeMethodDescriptionMenuItem.add(MenuItemAction itemAction) MenuItem.addAction(MenuItemAction itemAction) MenuItem.ariaDisabled()MenuItem.ariaDisabled(boolean ariaDisabled) static MenuItemMenuItem.asyncMenuItem(String identifier, String text, AsyncItems<MenuList, MenuItem> loadItems) static MenuItemMenuItem.checkboxMenuItem(String identifier, String text) Create a new menu item with typeMenuItemType.link.MenuItem.danger()MenuItem.description(HTMLElement element) MenuItem.description(String description) MenuItem.disabled(boolean disabled) MenuItem.external()MenuItem.iconAndText(Element icon, String text, IconPosition iconPosition) static MenuItemMenuItem.linkMenuItem(String identifier, String text, String href) Create a new menu item with typeMenuItemType.link.static MenuItemCreate a new menu item with typeMenuItemType.action.static MenuItemCreate a new menu item with typeMenuItemType.action.Generates a menu item to be displayed when no results are found in the specified menu list for the given input text.Registers an event handler to be invoked when the menu item is clicked.MenuItem.removeIcon()MenuItem.selected()static MenuItemMenuItem.skeletonMenuItem(String identifier, String loading) <T> MenuItemMenuItem.text(HTMLElement element) MenuItem.that()Methods in org.patternfly.component.menu that return types with arguments of type MenuItemModifier and TypeMethodDescriptionMenuList.comparator()Menu.items()MenuList.iterator()MenuList.load()SearchFilter.noResults()Creates a function that generates a disabled menu item indicating no results were found for a given search query.MenuList.reload()Menu.selectedItems()Methods in org.patternfly.component.menu with parameters of type MenuItemModifier and TypeMethodDescriptionvoidMenuActionHandler.onAction(Menu menu, MenuItem item, MenuItemAction itemAction) voidvoidvoidvoidMenuList.updateItem(MenuItem item) Method parameters in org.patternfly.component.menu with type arguments of type MenuItemModifier and TypeMethodDescriptionMenuList.add(AsyncItems<MenuList, MenuItem> items) default MPopperTypeahead.allowNewItems(Function<String, Promise<MenuItem>> createItem) Deprecated.Allows the creation of new menu items based on user input.default MTypeahead.allowNewItems(Function<String, Promise<MenuItem>> createItem) Allows the creation of new menu items based on user input.static MenuItemMenuItem.asyncMenuItem(String identifier, String text, AsyncItems<MenuList, MenuItem> loadItems) MenuList.onAdd(AddItemHandler<MenuList, MenuItem> onAdd) Registers an event handler to be invoked when the menu item is clicked.Menu.onMultiSelect(org.patternfly.handler.MultiSelectHandler<Menu, MenuItem> selectHandler) MenuList.onRemove(RemoveItemHandler<MenuList, MenuItem> onRemove) Menu.onSingleSelect(org.patternfly.handler.SelectHandler<MenuItem> selectHandler) MenuList.onUpdate(UpdateItemHandler<MenuList, MenuItem> onUpdate) MenuList.ordered(Comparator<MenuItem> comparator)