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 MenuItemContextMenu. addItem(Component component, ComponentEventListener<ClickEvent<MenuItem>> clickListener)MenuItemContextMenu. addItem(String text, ComponentEventListener<ClickEvent<MenuItem>> clickListener)MenuItemHasMenuItems. addItem(Component component, ComponentEventListener<ClickEvent<MenuItem>> clickListener)Adds a new item component with the given component and click listener to the context menu overlay.MenuItemHasMenuItems. 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.MenuItemSubMenu. addItem(Component component, ComponentEventListener<ClickEvent<MenuItem>> clickListener)MenuItemSubMenu. 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 MenuItemContextMenu. addItem(Component component, ComponentEventListener<ClickEvent<MenuItem>> clickListener)MenuItemContextMenu. addItem(String text, ComponentEventListener<ClickEvent<MenuItem>> clickListener)MenuItemHasMenuItems. addItem(Component component, ComponentEventListener<ClickEvent<MenuItem>> clickListener)Adds a new item component with the given component and click listener to the context menu overlay.MenuItemHasMenuItems. 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.MenuItemSubMenu. addItem(Component component, ComponentEventListener<ClickEvent<MenuItem>> clickListener)MenuItemSubMenu. 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 MenuItemMenuBar. addItem(Component component)Creates a newMenuItemcomponent and adds it to the root level of this menu bar.MenuItemMenuBar. addItem(Component component, ComponentEventListener<ClickEvent<MenuItem>> clickListener)Creates a newMenuItemcomponent with the provided click listener and adds it to the root level of this menu bar.MenuItemMenuBar. addItem(Component component, String tooltipText)Creates a newMenuItemcomponent with the provided tooltip text and adds it to the root level of this menu bar.MenuItemMenuBar. addItem(Component component, String tooltipText, ComponentEventListener<ClickEvent<MenuItem>> clickListener)Creates a newMenuItemcomponent with the provided click listener and the tooltip text and adds it to the root level of this menu bar.MenuItemMenuBar. addItem(String text)Creates a newMenuItemcomponent with the provided text content and adds it to the root level of this menu bar.MenuItemMenuBar. addItem(String text, ComponentEventListener<ClickEvent<MenuItem>> clickListener)Creates a newMenuItemcomponent with the provided text content and click listener and adds it to the root level of this menu bar.MenuItemMenuBar. addItem(String text, String tooltipText)Creates a newMenuItemcomponent with the provided text content and the tooltip text and adds it to the root level of this menu bar.MenuItemMenuBar. addItem(String text, String tooltipText, ComponentEventListener<ClickEvent<MenuItem>> clickListener)Creates a newMenuItemcomponent 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 theMenuItemcomponents 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 voidMenuBar. remove(MenuItem... items)Removes the given item components from this menu bar.voidMenuBar. 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 MenuItemMenuBar. addItem(Component component, ComponentEventListener<ClickEvent<MenuItem>> clickListener)Creates a newMenuItemcomponent with the provided click listener and adds it to the root level of this menu bar.MenuItemMenuBar. addItem(Component component, String tooltipText, ComponentEventListener<ClickEvent<MenuItem>> clickListener)Creates a newMenuItemcomponent with the provided click listener and the tooltip text and adds it to the root level of this menu bar.MenuItemMenuBar. addItem(String text, ComponentEventListener<ClickEvent<MenuItem>> clickListener)Creates a newMenuItemcomponent with the provided text content and click listener and adds it to the root level of this menu bar.MenuItemMenuBar. addItem(String text, String tooltipText, ComponentEventListener<ClickEvent<MenuItem>> clickListener)Creates a newMenuItemcomponent with the provided text content and the tooltip text and click listener and adds it to the root level of this menu bar.
-