Class VMenuBar

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.vaadin.flow.component.menubar.MenuBar

        com.vaadin.flow.component.menubar.MenuBar.MenuBarI18n
    • Constructor Summary

      Constructors 
      Constructor Description
      VMenuBar()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      VMenuBar withItem​(com.vaadin.flow.component.Component component)  
      VMenuBar withItem​(com.vaadin.flow.component.Component component, com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem>> clickListener)  
      VMenuBar withItem​(String text)  
      VMenuBar withItem​(String text, com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem>> clickListener)  
      VMenuBar withOpenOnHover​(boolean openOnHover)  
      • Methods inherited from class com.vaadin.flow.component.menubar.MenuBar

        addItem, addItem, addItem, addItem, addThemeVariants, getChildren, getI18n, getItems, isOpenOnHover, onAttach, remove, removeAll, removeThemeVariants, setI18n, setOpenOnHover
      • Methods inherited from class com.vaadin.flow.component.Component

        addListener, fireEvent, from, get, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
      • Methods inherited from interface com.vaadin.flow.component.AttachNotifier

        addAttachListener
      • Methods inherited from interface com.vaadin.flow.component.DetachNotifier

        addDetachListener
      • Methods inherited from interface com.vaadin.flow.component.HasElement

        getElement
      • Methods inherited from interface com.vaadin.flow.component.HasSize

        getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
      • Methods inherited from interface com.vaadin.flow.component.HasStyle

        addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
      • Methods inherited from interface com.vaadin.flow.component.HasTheme

        addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeName
    • Constructor Detail

      • VMenuBar

        public VMenuBar()
    • Method Detail

      • withItem

        public VMenuBar withItem​(com.vaadin.flow.component.Component component)
      • withItem

        public VMenuBar withItem​(String text,
                                 com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem>> clickListener)
      • withItem

        public VMenuBar withItem​(com.vaadin.flow.component.Component component,
                                 com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem>> clickListener)
      • withOpenOnHover

        public VMenuBar withOpenOnHover​(boolean openOnHover)