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.HasSize,com.vaadin.flow.component.HasStyle,com.vaadin.flow.component.HasTheme,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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VMenuBar()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VMenuBarwithItem(com.vaadin.flow.component.Component component)VMenuBarwithItem(com.vaadin.flow.component.Component component, com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem>> clickListener)VMenuBarwithItem(String text)VMenuBarwithItem(String text, com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem>> clickListener)VMenuBarwithOpenOnHover(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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentAttachNotifier
withAttachListener
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentComponent
setId, setVisible, withId, withVisible
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentDetachNotifier
withDetachListener
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasSize
withFullHeight, withFullWidth, withHeight, withMaxHeight, withMaxSize, withMaxWidth, withMinHeight, withMinSize, withMinWidth, withSize, withSizeFull, withSizeUndefined, withWidth
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasStyle
withAddedClassName, withClassName, withStyle
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasTheme
withThemeNames
-
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
-
-
-
-
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)
-
-