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

public class SubMenu extends MainLayout.AdvancedSideNav implements 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
    Constructor
    Description
    SubMenu(Class<?> navigationTarget)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addItem(com.vaadin.flow.component.sidenav.SideNavItem... arg0)
     
    void
    addItemAsFirst(com.vaadin.flow.component.sidenav.SideNavItem arg0)
     
    void
    addItemAtIndex(int arg0, com.vaadin.flow.component.sidenav.SideNavItem arg1)
     
    void
     
    List<com.vaadin.flow.component.sidenav.SideNavItem>
     
     
     
     
    boolean
     
    void
    remove(com.vaadin.flow.component.sidenav.SideNavItem... arg0)
     
    void
     
    void
    setActive(boolean active)
     
    void
     
    protected void
    setupSideNavItem(com.vaadin.flow.component.sidenav.SideNavItem arg0)
     

    Methods inherited from class org.vaadin.firitin.appframework.MainLayout.AdvancedSideNav

    addNavigationItem, addSubMenu

    Methods inherited from class com.vaadin.flow.component.sidenav.SideNav

    getI18n, getLabel, isCollapsible, isExpanded, setCollapsible, setExpanded, setI18n, setLabel

    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.DetachNotifier

    addDetachListener

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

    getElement

    Methods 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, setWidthFull

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

    addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
  • Constructor Details

    • SubMenu

      public SubMenu(Class<?> navigationTarget)
  • Method Details

    • getText

      public String getText()
      Specified by:
      getText in interface NavigationItem
    • getNavigationTarget

      public Class<?> getNavigationTarget()
      Specified by:
      getNavigationTarget in interface NavigationItem
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface NavigationItem
    • setActive

      public void setActive(boolean active)
      Specified by:
      setActive in interface NavigationItem
    • addSubItem

      public void addSubItem(NavigationItem item)
      Specified by:
      addSubItem in interface NavigationItem
    • setParentItem

      public void setParentItem(NavigationItem parent)
      Specified by:
      setParentItem in interface NavigationItem
    • getParentItem

      public NavigationItem getParentItem()
      Specified by:
      getParentItem in interface NavigationItem
    • setupSideNavItem

      protected void setupSideNavItem(com.vaadin.flow.component.sidenav.SideNavItem arg0)
    • addItem

      public void addItem(com.vaadin.flow.component.sidenav.SideNavItem... arg0)
    • addItemAsFirst

      public void addItemAsFirst(com.vaadin.flow.component.sidenav.SideNavItem arg0)
    • addItemAtIndex

      public void addItemAtIndex(int arg0, com.vaadin.flow.component.sidenav.SideNavItem arg1)
    • getItems

      public List<com.vaadin.flow.component.sidenav.SideNavItem> getItems()
    • remove

      public void remove(com.vaadin.flow.component.sidenav.SideNavItem... arg0)
    • removeAll

      public void removeAll()