Uses of Class
org.patternfly.component.menu.MenuItem
Packages that use MenuItem
-
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 TypeClassDescriptionclassclassclassclassclassclassclassFields 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.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(HTMLElement element) MenuItem.that()Methods in org.patternfly.component.menu that return types with arguments of type MenuItemModifier and TypeMethodDescriptionMenu.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) voidvoidvoidMethod parameters in org.patternfly.component.menu with type arguments of type MenuItemModifier and TypeMethodDescriptionMenuList.add(AsyncItems<MenuList, MenuItem> items) MenuList.addItems(AsyncItems<MenuList, MenuItem> items) 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(BiConsumer<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(BiConsumer<MenuList, MenuItem> onRemove) Menu.onSingleSelect(SelectHandler<MenuItem> selectHandler)