Class HorizontalMenu.SeparatorMenuItem
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.component.horizontalmenu.HorizontalMenu.AbstractMenuItem<com.vaadin.flow.component.html.Hr>
io.jmix.flowui.component.horizontalmenu.HorizontalMenu.SeparatorMenuItem
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasStyle
,MenuItem
,Serializable
- Enclosing class:
- HorizontalMenu
public static class HorizontalMenu.SeparatorMenuItem
extends HorizontalMenu.AbstractMenuItem<com.vaadin.flow.component.html.Hr>
Represents a separator
- See Also:
-
Field Summary
Fields inherited from class io.jmix.flowui.component.horizontalmenu.HorizontalMenu.AbstractMenuItem
menu, menuItemWrapper, parentMenuItem
-
Constructor Summary
-
Method Summary
Methods inherited from class io.jmix.flowui.component.horizontalmenu.HorizontalMenu.AbstractMenuItem
getMenu, getMenuItemWrapper, getParentMenuItem, isAttachedToMenu, isMenu, setMenu, setMenuItemWrapper, setParentMenuItem
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement, initContent
Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, 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.DetachNotifier
addDetachListener
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Constructor Details
-
SeparatorMenuItem
public SeparatorMenuItem() -
SeparatorMenuItem
-
-
Method Details
-
isSeparator
public boolean isSeparator()- Overrides:
isSeparator
in classHorizontalMenu.AbstractMenuItem<com.vaadin.flow.component.html.Hr>
- Returns:
- true if the item is a separator, false otherwise
- See Also:
-
getTitle
- Returns:
- title of this menu item or null if no title has been set
-