Class CmsVMenuBar

  • All Implemented Interfaces:
    com.google.gwt.event.dom.client.FocusHandler, com.google.gwt.event.dom.client.HasBlurHandlers, com.google.gwt.event.dom.client.HasFocusHandlers, com.google.gwt.event.dom.client.HasKeyDownHandlers, com.google.gwt.event.dom.client.HasKeyPressHandlers, com.google.gwt.event.dom.client.KeyDownHandler, com.google.gwt.event.dom.client.KeyPressHandler, com.google.gwt.event.dom.client.MouseOutHandler, com.google.gwt.event.dom.client.MouseOverHandler, com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel>, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.EventHandler, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.InsertPanel, com.google.gwt.user.client.ui.InsertPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, com.vaadin.client.extensions.EventTrigger, com.vaadin.client.Focusable, com.vaadin.client.ui.SubPartAware, java.lang.Iterable<com.google.gwt.user.client.ui.Widget>

    public class CmsVMenuBar
    extends com.vaadin.client.ui.VMenuBar
    Extending the VAADIN menu bar only to add a corner element pointing at the opening button.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.vaadin.client.ui.VMenuBar

        com.vaadin.client.ui.VMenuBar.CustomMenuItem
      • Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject

        com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
      • Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets

        com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
      • Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel

        com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
      • Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.InsertPanel

        com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String CORNER_CLASS
      The pointy corner CSS class.
      • Fields inherited from class com.vaadin.client.ui.VMenuBar

        CLASSNAME, client, collapsedRootItems, containerElement, emptyCommand, enabled, hostReference, htmlContentAllowed, items, menuVisible, moreItem, mouseDownPressed, openRootOnHover, parentMenu, popup, selected, subMenu, SUBMENU_CLASSNAME_PREFIX, uidlId, visibleChildMenu
      • Fields inherited from class com.google.gwt.user.client.ui.UIObject

        DEBUG_ID_PREFIX
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void showChildMenuAt​(com.vaadin.client.ui.VMenuBar.CustomMenuItem item, int top, int left)  
      • Methods inherited from class com.vaadin.client.ui.VMenuBar

        addItem, addItem, addItem, addTrigger, buildItemHTML, buildItemHTML, clearItems, close, createOverlay, getCloseMenuKey, getItems, getMenuItemWithElement, getMenuItemWithElement, getNavigationDownKey, getNavigationLeftKey, getNavigationRightKey, getNavigationSelectKey, getNavigationUpKey, getParentMenu, getRoot, getSelected, getSubPartElement, getSubPartName, handleNavigation, hideChildMenu, hideChildren, hideChildren, hideParents, hideParents, iLayout, iLayout, isNavigationSelectKey, itemClick, itemOut, itemOver, onBrowserEvent, onClose, onDetach, onFocus, onKeyDown, onKeyPress, onMenuClick, onMouseOut, onMouseOver, onShow, removeItem, setParentMenu, setSelected, setStyleName, setStylePrimaryName, showChildMenu, updateStyleNames
      • Methods inherited from class com.vaadin.client.ui.FocusableFlowPanel

        addBlurHandler, addFocusHandler, addKeyDownHandler, addKeyPressHandler, focus, setFocus
      • Methods inherited from class com.google.gwt.user.client.ui.FlowPanel

        add, clear, insert, insert
      • Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel

        add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
      • Methods inherited from class com.google.gwt.user.client.ui.Panel

        add, adopt, doAttachChildren, doDetachChildren, orphan, remove
      • Methods inherited from class com.google.gwt.user.client.ui.Widget

        addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
      • Methods inherited from class com.google.gwt.user.client.ui.UIObject

        addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.gwt.event.shared.HasHandlers

        fireEvent
      • Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel

        getWidget, getWidgetCount, getWidgetIndex, remove
      • Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget

        getWidgetIndex
      • Methods inherited from interface com.google.gwt.user.client.ui.InsertPanel.ForIsWidget

        add
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • showChildMenuAt

        protected void showChildMenuAt​(com.vaadin.client.ui.VMenuBar.CustomMenuItem item,
                                       int top,
                                       int left)
        Overrides:
        showChildMenuAt in class com.vaadin.client.ui.VMenuBar
        See Also:
        VMenuBar.showChildMenuAt(com.vaadin.client.ui.VMenuBar.CustomMenuItem, int, int)