Uses of Class
com.vaadin.flow.router.NavigationEvent
-
Packages that use NavigationEvent Package Description com.vaadin.flow.di com.vaadin.flow.router com.vaadin.flow.router.internal -
-
Uses of NavigationEvent in com.vaadin.flow.di
Methods in com.vaadin.flow.di with parameters of type NavigationEvent Modifier and Type Method Description default <T extends HasElement>
TInstantiator. createRouteTarget(Class<T> routeTargetType, NavigationEvent event)Creates an instance of a navigation target or router layout. -
Uses of NavigationEvent in com.vaadin.flow.router
Subclasses of NavigationEvent in com.vaadin.flow.router Modifier and Type Class Description classErrorNavigationEventEvent object with data related to error navigation.Methods in com.vaadin.flow.router with parameters of type NavigationEvent Modifier and Type Method Description intNavigationHandler. handle(NavigationEvent event)Handles the navigation event.voidBeforeLeaveEvent.ContinueNavigationAction. setReferences(NavigationHandler handler, NavigationEvent event)Sets the navigationhandlerand the navigationeventfor this action.Constructors in com.vaadin.flow.router with parameters of type NavigationEvent Constructor Description BeforeEnterEvent(NavigationEvent event, Class<?> navigationTarget, RouteParameters parameters, List<Class<? extends RouterLayout>> layouts)Constructs event from a NavigationEvent.BeforeEnterEvent(NavigationEvent event, Class<?> navigationTarget, List<Class<? extends RouterLayout>> layouts)Constructs event from a NavigationEvent.BeforeEvent(NavigationEvent event, Class<?> navigationTarget, RouteParameters parameters, List<Class<? extends RouterLayout>> layouts)Constructs event from a NavigationEvent.BeforeEvent(NavigationEvent event, Class<?> navigationTarget, List<Class<? extends RouterLayout>> layouts)Constructs event from a NavigationEvent.BeforeLeaveEvent(NavigationEvent event, Class<?> navigationTarget, RouteParameters parameters, List<Class<? extends RouterLayout>> layouts)Constructs event from a NavigationEvent.BeforeLeaveEvent(NavigationEvent event, Class<?> navigationTarget, List<Class<? extends RouterLayout>> layouts)Constructs event from a NavigationEvent. -
Uses of NavigationEvent in com.vaadin.flow.router.internal
Methods in com.vaadin.flow.router.internal with parameters of type NavigationEvent Modifier and Type Method Description intAbstractNavigationStateRenderer. handle(NavigationEvent event)intErrorStateRenderer. handle(NavigationEvent event)intInternalRedirectHandler. handle(NavigationEvent event)protected Optional<Integer>AbstractNavigationStateRenderer. handleTriggeredBeforeEvent(NavigationEvent event, BeforeEvent beforeEvent)Handle aBeforeEventafter if has been triggered to an observer.protected abstract voidAbstractNavigationStateRenderer. notifyNavigationTarget(Component componentInstance, NavigationEvent navigationEvent, BeforeEnterEvent beforeEnterEvent, LocationChangeEvent locationChangeEvent)Notify the navigation target about the status of the navigation.protected voidErrorStateRenderer. notifyNavigationTarget(Component componentInstance, NavigationEvent navigationEvent, BeforeEnterEvent beforeEnterEvent, LocationChangeEvent locationChangeEvent)protected voidNavigationStateRenderer. notifyNavigationTarget(Component componentInstance, NavigationEvent navigationEvent, BeforeEnterEvent beforeEnterEvent, LocationChangeEvent locationChangeEvent)protected voidAbstractNavigationStateRenderer. pushHistoryState(NavigationEvent event)protected booleanAbstractNavigationStateRenderer. shouldPushHistoryState(NavigationEvent event)
-