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 filter for matching menu items against a search query.Classes in org.patternfly.component.menu that implement interfaces with type arguments of type MenuItemModifier and TypeClassDescriptionclassA menu item within aMenucomponent.classA menu item within aMenucomponent.classA menu item within aMenucomponent.classA menu item within aMenucomponent.classA menu item within aMenucomponent.classA menu item within aMenucomponent.classA menu list within aMenucomponent.classA menu list within aMenucomponent.Fields 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(elemental2.dom.HTMLElement element) MenuItem.description(String description) MenuItem.disabled(boolean disabled) MenuItem.external()MenuItem.icon(elemental2.dom.Element icon) MenuItem.iconAndText(elemental2.dom.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.MenuItem.onClick(ComponentHandler<MenuItem> handler) 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(elemental2.dom.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()MenuList.refresh()Menu.search(SearchFilter searchFilter, NoResults noResults, String value) Filters the menu items based on the given search value.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) MultiSelectTypeahead.allowNewItems(Function<String, elemental2.promise.Promise<MenuItem>> createItem) SingleSelectTypeahead.allowNewItems(Function<String, elemental2.promise.Promise<MenuItem>> createItem) static MenuItemMenuItem.asyncMenuItem(String identifier, String text, AsyncItems<MenuList, MenuItem> loadItems) Sets the error indicator supplier for all menu lists.Sets a custom supplier for the error indicator shown when async items fail to load.Sets the loading indicator supplier for all menu lists.Sets a custom supplier for the loading indicator shown while async items are being loaded.Sets the "no items" indicator supplier for all menu lists.Sets a custom supplier for the "no items" indicator shown when async items return an empty result.MenuList.onAdd(AddItemHandler<MenuList, MenuItem> onAdd) MenuItem.onClick(ComponentHandler<MenuItem> handler) Registers an event handler to be invoked when the menu item is clicked.Menu.onMultiSelect(MultiSelectHandler<Menu, MenuItem> selectHandler) MenuList.onRemove(RemoveItemHandler<MenuList, MenuItem> onRemove) Menu.onSingleSelect(SelectHandler<MenuItem> selectHandler) MenuList.onUpdate(UpdateItemHandler<MenuList, MenuItem> onUpdate) MenuList.ordered(Comparator<MenuItem> comparator)