Class JmixSubMenu
java.lang.Object
com.vaadin.flow.component.contextmenu.SubMenuBase<com.vaadin.flow.component.contextmenu.ContextMenu,com.vaadin.flow.component.contextmenu.MenuItem,com.vaadin.flow.component.contextmenu.SubMenu>
com.vaadin.flow.component.contextmenu.SubMenu
io.jmix.flowui.kit.component.menubar.JmixSubMenu
- All Implemented Interfaces:
com.vaadin.flow.component.contextmenu.HasMenuItems
,HasMenuItemsEnhanced
,Serializable
public class JmixSubMenu
extends com.vaadin.flow.component.contextmenu.SubMenu
implements HasMenuItemsEnhanced
- See Also:
-
Constructor Summary
ConstructorDescriptionJmixSubMenu
(JmixMenuItem parentMenuItem, com.vaadin.flow.function.SerializableRunnable contentReset) -
Method Summary
Modifier and TypeMethodDescriptionaddItem
(com.vaadin.flow.component.Component component) addItem
(com.vaadin.flow.component.Component component, com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem>> clickListener) addItem
(String text, com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem>> clickListener) addItemAtIndex
(int index, com.vaadin.flow.component.Component component) addItemAtIndex
(int index, com.vaadin.flow.component.Component component, com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem>> clickListener) addItemAtIndex
(int index, String text) addItemAtIndex
(int index, String text, com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem>> clickListener) protected com.vaadin.flow.component.contextmenu.MenuManager<com.vaadin.flow.component.contextmenu.ContextMenu,
com.vaadin.flow.component.contextmenu.MenuItem, com.vaadin.flow.component.contextmenu.SubMenu> protected JmixMenuManager<com.vaadin.flow.component.contextmenu.ContextMenu,
com.vaadin.flow.component.contextmenu.MenuItem, com.vaadin.flow.component.contextmenu.SubMenu> Methods inherited from class com.vaadin.flow.component.contextmenu.SubMenuBase
add, addComponentAtIndex, getChildren, getItems, getParentMenuItem, remove, removeAll
-
Constructor Details
-
Method Details
-
addItem
- Specified by:
addItem
in interfaceHasMenuItemsEnhanced
- Overrides:
addItem
in classcom.vaadin.flow.component.contextmenu.SubMenuBase<com.vaadin.flow.component.contextmenu.ContextMenu,
com.vaadin.flow.component.contextmenu.MenuItem, com.vaadin.flow.component.contextmenu.SubMenu>
-
addItem
- Specified by:
addItem
in interfaceHasMenuItemsEnhanced
- Overrides:
addItem
in classcom.vaadin.flow.component.contextmenu.SubMenuBase<com.vaadin.flow.component.contextmenu.ContextMenu,
com.vaadin.flow.component.contextmenu.MenuItem, com.vaadin.flow.component.contextmenu.SubMenu>
-
addItem
public JmixMenuItem addItem(String text, com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem>> clickListener) - Specified by:
addItem
in interfacecom.vaadin.flow.component.contextmenu.HasMenuItems
- Specified by:
addItem
in interfaceHasMenuItemsEnhanced
- Overrides:
addItem
in classcom.vaadin.flow.component.contextmenu.SubMenu
-
addItem
public JmixMenuItem addItem(com.vaadin.flow.component.Component component, com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem>> clickListener) - Specified by:
addItem
in interfacecom.vaadin.flow.component.contextmenu.HasMenuItems
- Specified by:
addItem
in interfaceHasMenuItemsEnhanced
- Overrides:
addItem
in classcom.vaadin.flow.component.contextmenu.SubMenu
-
addItemAtIndex
- Specified by:
addItemAtIndex
in interfaceHasMenuItemsEnhanced
-
addItemAtIndex
- Specified by:
addItemAtIndex
in interfaceHasMenuItemsEnhanced
-
addItemAtIndex
public JmixMenuItem addItemAtIndex(int index, String text, com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem>> clickListener) - Specified by:
addItemAtIndex
in interfaceHasMenuItemsEnhanced
-
addItemAtIndex
public JmixMenuItem addItemAtIndex(int index, com.vaadin.flow.component.Component component, com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem>> clickListener) - Specified by:
addItemAtIndex
in interfaceHasMenuItemsEnhanced
-
createMenuManager
protected com.vaadin.flow.component.contextmenu.MenuManager<com.vaadin.flow.component.contextmenu.ContextMenu,com.vaadin.flow.component.contextmenu.MenuItem, createMenuManager()com.vaadin.flow.component.contextmenu.SubMenu> - Overrides:
createMenuManager
in classcom.vaadin.flow.component.contextmenu.SubMenu
-
getMenuManager
protected JmixMenuManager<com.vaadin.flow.component.contextmenu.ContextMenu,com.vaadin.flow.component.contextmenu.MenuItem, getMenuManager()com.vaadin.flow.component.contextmenu.SubMenu> - Overrides:
getMenuManager
in classcom.vaadin.flow.component.contextmenu.SubMenuBase<com.vaadin.flow.component.contextmenu.ContextMenu,
com.vaadin.flow.component.contextmenu.MenuItem, com.vaadin.flow.component.contextmenu.SubMenu>
-