Class BasicNavigationItem

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.sidenav.SideNavItem
org.vaadin.firitin.appframework.BasicNavigationItem
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.shared.HasPrefix, com.vaadin.flow.component.shared.HasSuffix, com.vaadin.flow.component.sidenav.HasSideNavItems, Serializable, NavigationItem

public class BasicNavigationItem extends com.vaadin.flow.component.sidenav.SideNavItem implements NavigationItem
A component to represent a main view in the navigation menu
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    BasicNavigationItem(Class<? extends com.vaadin.flow.component.Component> navigationTarget)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    Class<? extends com.vaadin.flow.component.Component>
     
     
     
    boolean
     
    void
    setActive(boolean active)
     
    void
    setEnabled(boolean enabled)
     
    void
     
    void
     

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

    getLabel, getPath, getPathAliases, getTarget, isExpanded, isMatchNested, isOpenInNewBrowserTab, isRouterIgnore, setExpanded, setLabel, setMatchNested, setOpenInNewBrowserTab, setPath, setPath, setPath, setPathAliases, setQueryParameters, setRouterIgnore, setTarget

    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.shared.HasPrefix

    getPrefixComponent, setPrefixComponent

    Methods inherited from interface com.vaadin.flow.component.sidenav.HasSideNavItems

    addItem, addItemAsFirst, addItemAtIndex, getItems, remove, removeAll

    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.shared.HasSuffix

    getSuffixComponent, setSuffixComponent
  • Constructor Details

    • BasicNavigationItem

      public BasicNavigationItem(Class<? extends com.vaadin.flow.component.Component> navigationTarget)
  • Method Details