Class ScrollingTouchNavRenderer
java.lang.Object
org.vaadin.addons.joelpop.appnavlayout.ui.layout.appnav.ScrollingTouchNavRenderer
- All Implemented Interfaces:
NavRenderer
@CssImport("./scrolling-touch-nav.css")
@JsModule("./scrolling-touch-nav-scroll-indicator.js")
public class ScrollingTouchNavRenderer
extends Object
implements NavRenderer
An alternative
NavRenderer for NavType.TOUCH — a horizontally scrollable bar
of root sections in NavSlots.touchBar(), with fading edge chevrons instead of the
default "More" popover. Every root section gets its own item; when there are more than fit,
the bar scrolls instead of overflowing into a secondary surface. Also drives the shared
SecondaryTabBar drill-down bar, the same as every other built-in touch/rail renderer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnavType()The chrome this renderer requires — determines whichNavStrategygets built for whichever scenario this renderer is configured for.voidrender(NavRenderContext context) Builds or updates this renderer's content for the current nav state.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NavRenderer
railWidth
-
Constructor Details
-
ScrollingTouchNavRenderer
public ScrollingTouchNavRenderer()
-
-
Method Details