Uses of Class
org.patternfly.component.menu.MenuItem
-
Uses of MenuItem in org.patternfly.component.menu
Modifier and TypeMethodDescriptionstatic MenuItem
MenuItem.actionMenuItem
(String identifier, String text) Create a new menu item with typeMenuItemType.action
.MenuItem.add
(MenuItemAction itemAction) MenuItem.addAction
(MenuItemAction itemAction) static MenuItem
MenuItem.asyncMenuItem
(String identifier, String text, Function<MenuList, elemental2.promise.Promise<List<MenuItem>>> loadItems) static MenuItem
MenuItem.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 MenuItem
MenuItem.linkMenuItem
(String identifier, String text, String href) Create a new menu item with typeMenuItemType.link
.static MenuItem
MenuItem.menuItem
(String identifier, MenuItemType type) Create a new menu item with the specified type.MenuItem.onClick
(ComponentHandler<MenuItem> handler) MenuItem.removeIcon()
MenuItem.selected()
<T> MenuItem
MenuItem.text
(HTMLElement element) MenuItem.that()
Modifier and TypeMethodDescriptionvoid
MenuActionHandler.onAction
(Menu menu, MenuItem item, MenuItemAction itemAction) void
void
void
Modifier and TypeMethodDescriptionstatic MenuItem
MenuItem.asyncMenuItem
(String identifier, String text, Function<MenuList, elemental2.promise.Promise<List<MenuItem>>> loadItems) MenuItem.onClick
(ComponentHandler<MenuItem> handler) Menu.onMultiSelect
(MultiSelectHandler<Menu, MenuItem> selectHandler) Menu.onSingleSelect
(SelectHandler<MenuItem> selectHandler)