THIS - Self-referential generic THISpublic interface FluentMenuBar<THIS extends FluentMenuBar<THIS>> extends FluentAbstractComponent<THIS>
MenuBar.
 
 addItem methods continues to return MenuBar.MenuItem objects to be able to build fluent menu items.MenuBarFluentComponent.FluentFocusable<C extends FluentComponent.FluentFocusable<C>>com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listenercom.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener| Modifier and Type | Method and Description | 
|---|---|
| default THIS | withAutoOpen(boolean autoOpenTopLevelMenu)Using this method menubar can be put into a special mode where top level
 menus opens without clicking on the menu, but automatically when mouse
 cursor is moved over the menu. | 
| default THIS | withHtmlContentAllowed(boolean htmlContentAllowed)Sets whether html is allowed in the item captions. | 
withCaption, withCaptionAsHtml, withComponentError, withData, withDescription, withDescription, withLocale, withResponsive, withShortcutListener, withStyleNamewithCaption, withEnabled, withIcon, withId, withParent, withPrimaryStyleName, withStyleName, withStyleName, withVisibleaddListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setVisible, writeDesignaddAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerwithFullHeight, withFullSize, withFullWidth, withHeight, withHeight, withSize, withUndefinedHeight, withUndefinedSize, withUndefinedWidth, withWidth, withWidthgetHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefinedwithAttachListener, withDetachListenerwithContextClickListenerdefault THIS withAutoOpen(boolean autoOpenTopLevelMenu)
Note, that on touch devices the menu still opens on a click event.
autoOpenTopLevelMenu - true if menus should be opened without click, the default is
            falseMenuBar.setAutoOpen(boolean)default THIS withHtmlContentAllowed(boolean htmlContentAllowed)
htmlContentAllowed - true if the captions are used as html, false if used as plain textMenuBar.setHtmlContentAllowed(boolean)Copyright © 2017 Jean-Christophe Fortier. All rights reserved.