Class JmixMenuBarItem

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.contextmenu.MenuItemBase<com.vaadin.flow.component.contextmenu.ContextMenu,com.vaadin.flow.component.contextmenu.MenuItem,com.vaadin.flow.component.contextmenu.SubMenu>
com.vaadin.flow.component.contextmenu.MenuItem
io.jmix.flowui.kit.component.menubar.JmixMenuItem
io.jmix.flowui.kit.component.menubar.JmixMenuBarItem
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.contextmenu.MenuItem>, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasAriaLabel, com.vaadin.flow.component.HasComponents, com.vaadin.flow.component.HasComponentsOfType<com.vaadin.flow.component.Component>, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.HasText, Serializable
Direct Known Subclasses:
JmixMenuBarRootItem

@Tag("vaadin-menu-bar-item") public class JmixMenuBarItem extends JmixMenuItem
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasText

    com.vaadin.flow.component.HasText.WhiteSpace
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final JmixMenuBar
     

    Fields inherited from class io.jmix.flowui.kit.component.menubar.JmixMenuItem

    contentReset
  • Constructor Summary

    Constructors
    Constructor
    Description
    JmixMenuBarItem(JmixMenuBar menuBar, com.vaadin.flow.function.SerializableRunnable contentReset)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    protected void
     
     

    Methods inherited from class com.vaadin.flow.component.contextmenu.MenuItem

    setEnabled

    Methods inherited from class com.vaadin.flow.component.contextmenu.MenuItemBase

    addThemeNames, bindEnabled, executeJsWhenAttached, getContextMenu, hasThemeName, isCheckable, isChecked, isDisableOnClick, isKeepOpen, isParentItem, removeThemeNames, setCheckable, setChecked, setDisableOnClick, setKeepOpen, setTooltipPosition, setTooltipText

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

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

    Methods inherited from class java.lang.Object

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

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

    addAttachListener

    Methods inherited from interface com.vaadin.flow.component.ClickNotifier

    addClickListener, addClickShortcut, addDoubleClickListener, addSingleClickListener

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

    addDetachListener

    Methods inherited from interface com.vaadin.flow.component.HasAriaLabel

    getAriaLabel, getAriaLabelledBy, setAriaLabel, setAriaLabelledBy, setAriaLabelledBy

    Methods inherited from interface com.vaadin.flow.component.HasComponents

    add

    Methods inherited from interface com.vaadin.flow.component.HasComponentsOfType

    add, add, addComponentAsFirst, addComponentAtIndex, bindChildren, getChildren, getComponentAt, getComponentCount, indexOf, remove, remove, removeAll, replace

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

    getElement

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

    isEnabled

    Methods inherited from interface com.vaadin.flow.component.HasStyle

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

    Methods inherited from interface com.vaadin.flow.component.HasText

    bindText, getText, getWhiteSpace, setText, setWhiteSpace
  • Field Details

  • Constructor Details

    • JmixMenuBarItem

      public JmixMenuBarItem(JmixMenuBar menuBar, com.vaadin.flow.function.SerializableRunnable contentReset)
  • Method Details

    • ensureTooltipElement

      protected void ensureTooltipElement()
      Overrides:
      ensureTooltipElement in class com.vaadin.flow.component.contextmenu.MenuItemBase<com.vaadin.flow.component.contextmenu.ContextMenu,com.vaadin.flow.component.contextmenu.MenuItem,com.vaadin.flow.component.contextmenu.SubMenu>
    • getSubMenu

      public JmixMenuBarSubMenu getSubMenu()
      Overrides:
      getSubMenu in class JmixMenuItem
    • createSubMenu

      protected JmixMenuBarSubMenu createSubMenu()
      Overrides:
      createSubMenu in class JmixMenuItem