Class NaviMenu

  • All Implemented Interfaces:
    com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.html.Div>, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasComponents, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasOrderedComponents, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.HasText, Serializable

    @CssImport("styles/components/navi-menu.css")
    public class NaviMenu
    extends com.vaadin.flow.component.html.Div
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NaviMenu()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      NaviItem addNaviItem​(com.vaadin.flow.component.html.Image image, String text, Class<? extends com.vaadin.flow.component.Component> navigationTarget)  
      NaviItem addNaviItem​(com.vaadin.flow.component.icon.VaadinIcon icon, String text, Class<? extends com.vaadin.flow.component.Component> navigationTarget)  
      NaviItem addNaviItem​(com.vaadin.flow.component.icon.VaadinIcon icon, String text, Class<? extends com.vaadin.flow.component.Component> navigationTarget, String parameter)  
      NaviItem addNaviItem​(com.vaadin.flow.component.icon.VaadinIcon icon, String text, Class<? extends com.vaadin.flow.component.Component> navigationTarget, Map<String,​List<String>> parameters)  
      protected void addNaviItem​(NaviItem item)  
      protected void addNaviItem​(NaviItem parent, NaviItem item)  
      NaviItem addNaviItem​(NaviItem parent, String text, Class<? extends com.vaadin.flow.component.Component> navigationTarget)  
      NaviItem addNaviItem​(NaviItem parent, String text, Class<? extends com.vaadin.flow.component.Component> navigationTarget, Map<String,​List<String>> parameters)  
      NaviItem addNaviItem​(String text, Class<? extends com.vaadin.flow.component.Component> navigationTarget)  
      void filter​(String filter)  
      List<NaviItem> getNaviItems()  
      • Methods inherited from class com.vaadin.flow.component.HtmlComponent

        getTitle, setTitle
      • Methods inherited from class com.vaadin.flow.component.Component

        addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
      • Methods inherited from interface com.vaadin.flow.component.AttachNotifier

        addAttachListener
      • Methods inherited from interface com.vaadin.flow.component.ClickNotifier

        addClickListener, addClickShortcut
      • Methods inherited from interface com.vaadin.flow.component.DetachNotifier

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

        add, add, addComponentAsFirst, addComponentAtIndex, 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.HasOrderedComponents

        getChildren, getComponentAt, getComponentCount, indexOf, replace
      • 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
      • Methods inherited from interface com.vaadin.flow.component.HasText

        getText, setText
    • Constructor Detail

      • NaviMenu

        public NaviMenu()
    • Method Detail

      • addNaviItem

        protected void addNaviItem​(NaviItem item)
      • filter

        public void filter​(String filter)
      • addNaviItem

        public NaviItem addNaviItem​(String text,
                                    Class<? extends com.vaadin.flow.component.Component> navigationTarget)
      • addNaviItem

        public NaviItem addNaviItem​(com.vaadin.flow.component.icon.VaadinIcon icon,
                                    String text,
                                    Class<? extends com.vaadin.flow.component.Component> navigationTarget)
      • addNaviItem

        public NaviItem addNaviItem​(com.vaadin.flow.component.html.Image image,
                                    String text,
                                    Class<? extends com.vaadin.flow.component.Component> navigationTarget)
      • addNaviItem

        public NaviItem addNaviItem​(NaviItem parent,
                                    String text,
                                    Class<? extends com.vaadin.flow.component.Component> navigationTarget)
      • addNaviItem

        public NaviItem addNaviItem​(com.vaadin.flow.component.icon.VaadinIcon icon,
                                    String text,
                                    Class<? extends com.vaadin.flow.component.Component> navigationTarget,
                                    Map<String,​List<String>> parameters)
      • addNaviItem

        public NaviItem addNaviItem​(com.vaadin.flow.component.icon.VaadinIcon icon,
                                    String text,
                                    Class<? extends com.vaadin.flow.component.Component> navigationTarget,
                                    String parameter)