Class ExpandingTouchNavRenderer
java.lang.Object
org.vaadin.addons.joelpop.appnavlayout.ui.layout.appnav.ExpandingTouchNavRenderer
- All Implemented Interfaces:
NavRenderer
@CssImport("./expanding-touch-nav.css")
public class ExpandingTouchNavRenderer
extends Object
implements NavRenderer
An alternative
NavRenderer for NavType.TOUCH — a grid of root sections in
NavSlots.touchBar() that expands upward via a chevron when there are more than fit,
instead of the default "More" popover. The primary row always shows a fixed, even number of
items; the rest sit in a collapsible overflow section beneath it. 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
-
ExpandingTouchNavRenderer
public ExpandingTouchNavRenderer()
-
-
Method Details