Uses of Class
com.vaadin.flow.component.contextmenu.MenuItem
-
Packages that use MenuItem Package Description com.vaadin.flow.component.contextmenu com.vaadin.flow.component.menubar -
-
Uses of MenuItem in com.vaadin.flow.component.contextmenu
Methods in com.vaadin.flow.component.contextmenu that return MenuItem Modifier and Type Method Description MenuItem
ContextMenu. addItem(Component component, ComponentEventListener<ClickEvent<MenuItem>> clickListener)
MenuItem
ContextMenu. addItem(String text, ComponentEventListener<ClickEvent<MenuItem>> clickListener)
MenuItem
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.MenuItem
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.MenuItem
SubMenu. addItem(Component component, ComponentEventListener<ClickEvent<MenuItem>> clickListener)
MenuItem
SubMenu. addItem(String text, ComponentEventListener<ClickEvent<MenuItem>> clickListener)
Methods in com.vaadin.flow.component.contextmenu that return types with arguments of type MenuItem Modifier and Type Method Description protected 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 MenuItem Modifier and Type Method Description MenuItem
ContextMenu. addItem(Component component, ComponentEventListener<ClickEvent<MenuItem>> clickListener)
MenuItem
ContextMenu. addItem(String text, ComponentEventListener<ClickEvent<MenuItem>> clickListener)
MenuItem
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.MenuItem
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.MenuItem
SubMenu. addItem(Component component, ComponentEventListener<ClickEvent<MenuItem>> clickListener)
MenuItem
SubMenu. addItem(String text, ComponentEventListener<ClickEvent<MenuItem>> clickListener)
Constructors in com.vaadin.flow.component.contextmenu with parameters of type MenuItem Constructor Description SubMenu(MenuItem parentMenuItem, SerializableRunnable contentReset)
-
Uses of MenuItem in com.vaadin.flow.component.menubar
Methods in com.vaadin.flow.component.menubar that return MenuItem Modifier and Type Method Description MenuItem
MenuBar. addItem(Component component)
Creates a newMenuItem
component and adds it to the root level of this menu bar.MenuItem
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.MenuItem
MenuBar. addItem(Component component, String tooltipText)
Creates a newMenuItem
component with the provided tooltip text and adds it to the root level of this menu bar.MenuItem
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.MenuItem
MenuBar. addItem(String text)
Creates a newMenuItem
component with the provided text content and adds it to the root level of this menu bar.MenuItem
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.MenuItem
MenuBar. addItem(String text, String tooltipText)
Creates a newMenuItem
component with the provided text content and the tooltip text and adds it to the root level of this menu bar.MenuItem
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 MenuItem Modifier and Type Method Description List<MenuItem>
MenuBar. getItems()
Gets theMenuItem
components added to the root level of the menu bar.Methods in com.vaadin.flow.component.menubar with parameters of type MenuItem Modifier and Type Method Description void
MenuBar. remove(MenuItem... items)
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 MenuItem Modifier and Type Method Description MenuItem
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.MenuItem
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.MenuItem
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.MenuItem
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.
-