Class JmixMenuItem

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
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.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.HasText, Serializable
Direct Known Subclasses:
JmixMenuBarItem

public class JmixMenuItem extends com.vaadin.flow.component.contextmenu.MenuItem
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 com.vaadin.flow.function.SerializableRunnable
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    JmixMenuItem(com.vaadin.flow.component.contextmenu.ContextMenu contextMenu, com.vaadin.flow.function.SerializableRunnable contentReset)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected JmixSubMenu
     
     

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

    addThemeNames, executeJsWhenAttached, getContextMenu, hasThemeName, isCheckable, isChecked, isParentItem, removeThemeNames, setCheckable, setChecked

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

    addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, 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 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

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

    add, add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAll

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

    getElement

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

    isEnabled, setEnabled

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

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

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

    getText, getWhiteSpace, setText, setWhiteSpace
  • Field Details

    • contentReset

      protected final com.vaadin.flow.function.SerializableRunnable contentReset
  • Constructor Details

    • JmixMenuItem

      public JmixMenuItem(com.vaadin.flow.component.contextmenu.ContextMenu contextMenu, com.vaadin.flow.function.SerializableRunnable contentReset)
  • Method Details

    • getSubMenu

      public JmixSubMenu getSubMenu()
      Overrides:
      getSubMenu 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>
    • createSubMenu

      protected JmixSubMenu createSubMenu()
      Overrides:
      createSubMenu in class com.vaadin.flow.component.contextmenu.MenuItem