Package org.vaadin.firitin.appframework
Class SubMenu
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.sidenav.SideNav
org.vaadin.firitin.appframework.MainLayout.AdvancedSideNav
org.vaadin.firitin.appframework.SubMenu
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasSize,com.vaadin.flow.component.HasStyle,Serializable,NavigationItem
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.flow.component.sidenav.SideNav
com.vaadin.flow.component.sidenav.SideNav.SideNavI18n -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddItem(com.vaadin.flow.component.sidenav.SideNavItem... arg0) voidaddItemAsFirst(com.vaadin.flow.component.sidenav.SideNavItem arg0) voidaddItemAtIndex(int arg0, com.vaadin.flow.component.sidenav.SideNavItem arg1) voidaddSubItem(NavigationItem item) List<com.vaadin.flow.component.sidenav.SideNavItem>getItems()Class<?>getText()booleanvoidremove(com.vaadin.flow.component.sidenav.SideNavItem... arg0) voidvoidsetActive(boolean active) voidsetParentItem(NavigationItem parent) protected voidsetupSideNavItem(com.vaadin.flow.component.sidenav.SideNavItem arg0) Methods inherited from class org.vaadin.firitin.appframework.MainLayout.AdvancedSideNav
addNavigationItem, addSubMenuMethods inherited from class com.vaadin.flow.component.sidenav.SideNav
getI18n, getLabel, isCollapsible, isExpanded, setCollapsible, setExpanded, setI18n, setLabelMethods 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.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFullMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Constructor Details
-
SubMenu
-
-
Method Details
-
getText
- Specified by:
getTextin interfaceNavigationItem
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceNavigationItem
-
setActive
public void setActive(boolean active) - Specified by:
setActivein interfaceNavigationItem
-
getParentItem
- Specified by:
getParentItemin interfaceNavigationItem
-
getItems
-
removeAll
public void removeAll()
-