Class MainTabSheetMenuItem
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.contextmenu.MenuItemBase<MainTabSheetContextMenu,MainTabSheetMenuItem,MainTabSheetSubMenu>
io.jmix.tabbedmode.component.tabsheet.contextmenu.MainTabSheetMenuItem
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,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
public class MainTabSheetMenuItem
extends com.vaadin.flow.component.contextmenu.MenuItemBase<MainTabSheetContextMenu,MainTabSheetMenuItem,MainTabSheetSubMenu>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasText
com.vaadin.flow.component.HasText.WhiteSpace -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final com.vaadin.flow.function.SerializableRunnable -
Constructor Summary
ConstructorsConstructorDescriptionMainTabSheetMenuItem(MainTabSheetContextMenu contextMenu, com.vaadin.flow.function.SerializableRunnable contentReset) -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.shared.RegistrationaddMenuItemClickListener(com.vaadin.flow.component.ComponentEventListener<MainTabSheetContextMenu.MainTabSheetContextMenuItemClickEvent> clickListener) Adds the given click listener for this menu item.protected MainTabSheetSubMenuMethods inherited from class com.vaadin.flow.component.contextmenu.MenuItemBase
addThemeNames, executeJsWhenAttached, getContextMenu, getSubMenu, hasThemeName, isCheckable, isChecked, isDisableOnClick, isKeepOpen, isParentItem, removeThemeNames, setCheckable, setChecked, setDisableOnClick, setEnabled, setKeepOpenMethods 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, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasAriaLabel
getAriaLabel, getAriaLabelledBy, setAriaLabel, setAriaLabelledByMethods inherited from interface com.vaadin.flow.component.HasComponents
add, add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAllMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabledMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods 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
-
Method Details
-
addMenuItemClickListener
public com.vaadin.flow.shared.Registration addMenuItemClickListener(com.vaadin.flow.component.ComponentEventListener<MainTabSheetContextMenu.MainTabSheetContextMenuItemClickEvent> clickListener) Adds the given click listener for this menu item.- Parameters:
clickListener- the click listener to add- Returns:
- a handle for removing the listener
-
createSubMenu
- Specified by:
createSubMenuin classcom.vaadin.flow.component.contextmenu.MenuItemBase<MainTabSheetContextMenu,MainTabSheetMenuItem, MainTabSheetSubMenu>
-