Class VMenuBar

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.menubar.MenuBar
org.vaadin.firitin.components.menubar.VMenuBar
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.contextmenu.HasMenuItems, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.HasTheme, com.vaadin.flow.component.shared.HasOverlayClassName, com.vaadin.flow.component.shared.HasThemeVariant<com.vaadin.flow.component.menubar.MenuBarVariant>, Serializable, FluentAttachNotifier<VMenuBar>, FluentComponent<VMenuBar>, FluentDetachNotifier<VMenuBar>, FluentHasSize<VMenuBar>, FluentHasStyle<VMenuBar>, FluentHasTheme<VMenuBar>

public class VMenuBar extends com.vaadin.flow.component.menubar.MenuBar implements FluentComponent<VMenuBar>, FluentHasSize<VMenuBar>, FluentHasStyle<VMenuBar>, FluentHasTheme<VMenuBar>
See Also:
  • Nested Class Summary Link icon

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    withItem(com.vaadin.flow.component.Component component)
     
    withItem(com.vaadin.flow.component.Component component, com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem>> clickListener)
     
     
    withItem(String text, com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem>> clickListener)
     
    withOpenOnHover(boolean openOnHover)
     

    Methods inherited from class com.vaadin.flow.component.menubar.MenuBar Link icon

    addItem, addItem, addItem, addItem, addItem, addItem, addItem, addItem, close, getChildren, getI18n, getItems, isOpenOnHover, isReverseCollapseOrder, isTabNavigation, onAttach, remove, removeAll, setI18n, setOpenOnHover, setReverseCollapseOrder, setTabNavigation, setTooltipText

    Methods inherited from class com.vaadin.flow.component.Component Link icon

    addListener, findAncestor, fireEvent, from, get, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisible

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.flow.component.AttachNotifier Link icon

    addAttachListener

    Methods inherited from interface com.vaadin.flow.component.DetachNotifier Link icon

    addDetachListener

    Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentAttachNotifier Link icon

    withAttachListener

    Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentComponent Link icon

    navigate, setId, setVisible, withId, withVisible

    Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentDetachNotifier Link icon

    withDetachListener

    Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasStyle Link icon

    withAddedClassName, withClassName, withStyle

    Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasTheme Link icon

    withThemeNames

    Methods inherited from interface com.vaadin.flow.component.HasElement Link icon

    getElement

    Methods inherited from interface com.vaadin.flow.component.HasEnabled Link icon

    isEnabled, setEnabled

    Methods inherited from interface com.vaadin.flow.component.shared.HasOverlayClassName Link icon

    getOverlayClassName, setOverlayClassName

    Methods inherited from interface com.vaadin.flow.component.HasSize Link icon

    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 Link icon

    addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName

    Methods inherited from interface com.vaadin.flow.component.HasTheme Link icon

    addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeName

    Methods inherited from interface com.vaadin.flow.component.shared.HasThemeVariant Link icon

    addThemeVariants, removeThemeVariants
  • Constructor Details Link icon

    • VMenuBar Link icon

      public VMenuBar()
  • Method Details Link icon

    • withItem Link icon

      public VMenuBar withItem(String text)
    • withItem Link icon

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

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

      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 Link icon

      public VMenuBar withOpenOnHover(boolean openOnHover)