We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.contextmenu.
Class MenuItemsArrayGenerator<I extends MenuItemBase<?,I,?>>
- java.lang.Object
-
- com.vaadin.flow.component.contextmenu.MenuItemsArrayGenerator<I>
-
Type Parameters:
I
- the menu item typeAll Implemented Interfaces:
public class MenuItemsArrayGenerator<I extends MenuItemBase<?,I,?>> extends Object implements Serializable
A class which is utilized internally by components such as context menu and menu bar. It transform the components added to the menus and their sub menus to the hierarchical items array of the web component.
See Also:
-
-
Constructor Summary
Constructors Constructor and Description MenuItemsArrayGenerator(Component menu)
-
Method Summary
All Methods Modifier and Type Method and Description void
generate()
Rebuilds the client-side items array with the current components in the menu and its sub menus.
-
-
-
Constructor Detail
-
MenuItemsArrayGenerator
public MenuItemsArrayGenerator(Component menu)
-
-