Uses of Class
com.vaadin.flow.component.contextmenu.MenuItem
Packages that use MenuItem
-
Uses of MenuItem in com.vaadin.flow.component.contextmenu
Methods in com.vaadin.flow.component.contextmenu that return MenuItemModifier and TypeMethodDescriptionContextMenu.addItem
(Component component, ComponentEventListener<ClickEvent<MenuItem>> clickListener) ContextMenu.addItem
(String text, ComponentEventListener<ClickEvent<MenuItem>> clickListener) HasMenuItems.addItem
(Component component, ComponentEventListener<ClickEvent<MenuItem>> clickListener) Adds a new item component with the given component and click listener to the context menu overlay.HasMenuItems.addItem
(String text, ComponentEventListener<ClickEvent<MenuItem>> clickListener) Adds a new item component with the given text content and click listener to the context menu overlay.SubMenu.addItem
(Component component, ComponentEventListener<ClickEvent<MenuItem>> clickListener) SubMenu.addItem
(String text, ComponentEventListener<ClickEvent<MenuItem>> clickListener) Methods in com.vaadin.flow.component.contextmenu that return types with arguments of type MenuItemModifier and TypeMethodDescriptionprotected MenuManager<ContextMenu,
MenuItem, SubMenu> ContextMenu.createMenuManager
(SerializableRunnable contentReset) protected MenuManager<ContextMenu,
MenuItem, SubMenu> SubMenu.createMenuManager()
Method parameters in com.vaadin.flow.component.contextmenu with type arguments of type MenuItemModifier and TypeMethodDescriptionContextMenu.addItem
(Component component, ComponentEventListener<ClickEvent<MenuItem>> clickListener) ContextMenu.addItem
(String text, ComponentEventListener<ClickEvent<MenuItem>> clickListener) HasMenuItems.addItem
(Component component, ComponentEventListener<ClickEvent<MenuItem>> clickListener) Adds a new item component with the given component and click listener to the context menu overlay.HasMenuItems.addItem
(String text, ComponentEventListener<ClickEvent<MenuItem>> clickListener) Adds a new item component with the given text content and click listener to the context menu overlay.SubMenu.addItem
(Component component, ComponentEventListener<ClickEvent<MenuItem>> clickListener) SubMenu.addItem
(String text, ComponentEventListener<ClickEvent<MenuItem>> clickListener) Constructors in com.vaadin.flow.component.contextmenu with parameters of type MenuItemModifierConstructorDescriptionSubMenu
(MenuItem parentMenuItem, SerializableRunnable contentReset) -
Uses of MenuItem in com.vaadin.flow.component.menubar
Methods in com.vaadin.flow.component.menubar that return MenuItemModifier and TypeMethodDescriptionCreates a newMenuItem
component and adds it to the root level of this menu bar.MenuBar.addItem
(Component component, ComponentEventListener<ClickEvent<MenuItem>> clickListener) Creates a newMenuItem
component with the provided click listener and adds it to the root level of this menu bar.Creates a newMenuItem
component with the provided tooltip text and adds it to the root level of this menu bar.MenuBar.addItem
(Component component, String tooltipText, ComponentEventListener<ClickEvent<MenuItem>> clickListener) Creates a newMenuItem
component with the provided click listener and the tooltip text and adds it to the root level of this menu bar.Creates a newMenuItem
component with the provided text content and adds it to the root level of this menu bar.MenuBar.addItem
(String text, ComponentEventListener<ClickEvent<MenuItem>> clickListener) Creates a newMenuItem
component with the provided text content and click listener and adds it to the root level of this menu bar.Creates a newMenuItem
component with the provided text content and the tooltip text and adds it to the root level of this menu bar.MenuBar.addItem
(String text, String tooltipText, ComponentEventListener<ClickEvent<MenuItem>> clickListener) Creates a newMenuItem
component with the provided text content and the tooltip text and click listener and adds it to the root level of this menu bar.Methods in com.vaadin.flow.component.menubar that return types with arguments of type MenuItemModifier and TypeMethodDescriptionMenuBar.getItems()
Gets theMenuItem
components added to the root level of the menu bar.Methods in com.vaadin.flow.component.menubar with parameters of type MenuItemModifier and TypeMethodDescriptionvoid
Removes the given item components from this menu bar.void
MenuBar.setTooltipText
(MenuItem item, String tooltipText) Sets the tooltip text for the givenMenuItem
.Method parameters in com.vaadin.flow.component.menubar with type arguments of type MenuItemModifier and TypeMethodDescriptionMenuBar.addItem
(Component component, ComponentEventListener<ClickEvent<MenuItem>> clickListener) Creates a newMenuItem
component with the provided click listener and adds it to the root level of this menu bar.MenuBar.addItem
(Component component, String tooltipText, ComponentEventListener<ClickEvent<MenuItem>> clickListener) Creates a newMenuItem
component with the provided click listener and the tooltip text and adds it to the root level of this menu bar.MenuBar.addItem
(String text, ComponentEventListener<ClickEvent<MenuItem>> clickListener) Creates a newMenuItem
component with the provided text content and click listener and adds it to the root level of this menu bar.MenuBar.addItem
(String text, String tooltipText, ComponentEventListener<ClickEvent<MenuItem>> clickListener) Creates a newMenuItem
component with the provided text content and the tooltip text and click listener and adds it to the root level of this menu bar.