Uses of Interface
org.vaadin.addons.joelpop.appnavlayout.ui.layout.appnav.NavRenderer
Packages that use NavRenderer
-
Uses of NavRenderer in org.vaadin.addons.joelpop.appnavlayout.ui.layout.appnav
Classes in org.vaadin.addons.joelpop.appnavlayout.ui.layout.appnav that implement NavRendererModifier and TypeClassDescriptionclassAn alternativeNavRendererforNavType.TOUCH— a grid of root sections inNavSlots.touchBar()that expands upward via a chevron when there are more than fit, instead of the default "More" popover.classAn alternativeNavRendererforNavType.RAIL— every rail item that represents a nav group gets a right-pointing chevron instead of navigating to a representative child; tapping it pops up a flyout listing that group's own children, recursively, to whatever depth the route hierarchy actually goes.classAn alternativeNavRendererforNavType.HEADER— root sections rendered as aTabsstrip spanning the header; selecting a leaf navigates directly, selecting a group only reveals that root's own children in the sharedSecondaryTabBardrill-down row beneath, never navigating on its own — the same non-committal rule the drill-down row itself applies to a group tab of its own (seeSecondaryTabBar(boolean, boolean)).classAn alternativeNavRendererforNavType.TOUCH— a horizontally scrollable bar of root sections inNavSlots.touchBar(), with fading edge chevrons instead of the default "More" popover.classDefaultNavRendererforNavType.SIDENAV— builds a fullSideNavhierarchy intoNavSlots.drawer(), using theSideNavItemrenderer configured viaAppNavLayout.setNavNodeRenderer(ComponentRenderer)and the nested-match setting fromAppNavLayout.setNavMatchNested(boolean).classDefaultNavRendererforNavType.RAIL— a left-edge icon rail inNavSlots.sideRail(), with a "More" overflow trigger when more root sections exist than fit, plus a drill-down bar inNavSlots.headerNav()for nested routes, however deep they go.classDefaultNavRendererforNavType.TOUCH— a bottom icon bar inNavSlots.touchBar(), with a "More" overflow trigger when more root sections exist than fit, plus a drill-down bar inNavSlots.headerNav()for nested routes, however deep they go.Method parameters in org.vaadin.addons.joelpop.appnavlayout.ui.layout.appnav with type arguments of type NavRendererModifier and TypeMethodDescriptionprotected voidAppNavLayout.setDesktopNavRenderer(Supplier<NavRenderer> renderer) Overrides theNavRendererused for the desktop scenario, constructed at most once, the first time it's actually needed.protected voidAppNavLayout.setPhoneLandscapeNavRenderer(Supplier<NavRenderer> renderer) Overrides theNavRendererused for the landscape-phone scenario, constructed at most once, the first time it's actually needed.protected voidAppNavLayout.setPhoneNavRenderer(Supplier<NavRenderer> renderer) Overrides theNavRendererused for both phone orientations at once, sharing a single memoized instance between them — equivalent to callingAppNavLayout.setPhonePortraitNavRenderer(Supplier)andAppNavLayout.setPhoneLandscapeNavRenderer(Supplier)with a shared supplier, not two independent ones.protected voidAppNavLayout.setPhonePortraitNavRenderer(Supplier<NavRenderer> renderer) Overrides theNavRendererused for the portrait-phone scenario, constructed at most once, the first time it's actually needed.protected voidAppNavLayout.setTabletLandscapeNavRenderer(Supplier<NavRenderer> renderer) Overrides theNavRendererused for the landscape-tablet scenario, constructed at most once, the first time it's actually needed.protected voidAppNavLayout.setTabletNavRenderer(Supplier<NavRenderer> renderer) Overrides theNavRendererused for both tablet orientations at once, sharing a single memoized instance between them — equivalent to callingAppNavLayout.setTabletPortraitNavRenderer(Supplier)andAppNavLayout.setTabletLandscapeNavRenderer(Supplier)with a shared supplier, not two independent ones.protected voidAppNavLayout.setTabletPortraitNavRenderer(Supplier<NavRenderer> renderer) Overrides theNavRendererused for the portrait-tablet scenario, constructed at most once, the first time it's actually needed.