Uses of Class
com.vaadin.flow.router.Router
Packages that use Router
Package
Description
-
Uses of Router in com.vaadin.flow.component
Methods in com.vaadin.flow.component that return RouterModifier and TypeMethodDescriptionstatic RouterComponentUtil.getRouter(HasElement component) Gets the router instance for the given component. -
Uses of Router in com.vaadin.flow.component.internal
Methods in com.vaadin.flow.component.internal that return Router -
Uses of Router in com.vaadin.flow.router
Methods in com.vaadin.flow.router that return RouterModifier and TypeMethodDescriptionAfterNavigationEvent.getSource()BeforeEvent.getSource()LocationChangeEvent.getSource()NavigationEvent.getSource()Methods in com.vaadin.flow.router with parameters of type RouterModifier and TypeMethodDescription<T,C extends Component & HasUrlParameter<T>>
voidSet the navigation target for this link.voidSet the navigation target for this link.voidRouterLink.setRoute(Router router, Class<? extends Component> navigationTarget, RouteParameters parameters) Set the navigation target for this link.Constructors in com.vaadin.flow.router with parameters of type RouterModifierConstructorDescriptionBeforeEnterEvent(Router router, NavigationTrigger trigger, Location location, Class<?> navigationTarget, UI ui, List<Class<? extends RouterLayout>> layouts) Constructs a new BeforeEnterEvent.BeforeEnterEvent(Router router, NavigationTrigger trigger, Location location, Class<?> navigationTarget, RouteParameters parameters, UI ui, List<Class<? extends RouterLayout>> layouts) Constructs a new BeforeEnterEvent.BeforeEvent(Router router, NavigationTrigger trigger, Location location, Class<?> navigationTarget, UI ui, List<Class<? extends RouterLayout>> layouts) Constructs a new BeforeEvent.BeforeEvent(Router router, NavigationTrigger trigger, Location location, Class<?> navigationTarget, RouteParameters parameters, UI ui, List<Class<? extends RouterLayout>> layouts) Constructs a new BeforeEvent.BeforeLeaveEvent(Router router, NavigationTrigger trigger, Location location, Class<?> navigationTarget, UI ui, List<Class<? extends RouterLayout>> layouts) Constructs a new BeforeLeaveEvent.BeforeLeaveEvent(Router router, NavigationTrigger trigger, Location location, Class<?> navigationTarget, RouteParameters parameters, UI ui, List<Class<? extends RouterLayout>> layouts) Constructs a new BeforeLeaveEvent.ErrorNavigationEvent(Router router, Location location, UI ui, NavigationTrigger trigger, ErrorParameter<?> errorParameter) Creates a new navigation event.ErrorNavigationEvent(Router router, Location location, UI ui, NavigationTrigger trigger, ErrorParameter<?> errorParameter, com.fasterxml.jackson.databind.node.BaseJsonNode state) Creates a new navigation event.LocationChangeEvent(Router router, UI ui, NavigationTrigger trigger, Location location, List<HasElement> routeTargetChain) Creates a new location change event.NavigationEvent(Router router, Location location, UI ui, NavigationTrigger trigger) Creates a new navigation event.NavigationEvent(Router router, Location location, UI ui, NavigationTrigger trigger, com.fasterxml.jackson.databind.node.BaseJsonNode state, boolean forwardTo) Creates a new navigation event.NavigationEvent(Router router, Location location, UI ui, NavigationTrigger trigger, com.fasterxml.jackson.databind.node.BaseJsonNode state, boolean forwardTo, boolean forceInstantiation, boolean recreateLayoutChain) Creates a new navigation event.NavigationState(Router router) Creates a new instance of the class using therouter.NavigationStateBuilder(Router router) Constructs a new NavigationStateBuilder.RouterLink(Router router, Class<? extends C> navigationTarget, T parameter) Creates a new router link for the given navigation target using the given parameter.RouterLink(Router router, Class<? extends Component> navigationTarget) Creates a new router link for the given navigation target.RouterLink(Router router, Class<? extends Component> navigationTarget, RouteParameters parameters) Creates a new router link for the given navigation target using the given parameters.RouterLink(Router router, String text, Class<? extends C> navigationTarget, T parameter) Creates a new router link for the given navigation target using the given text and parameter.RouterLink(Router router, String text, Class<? extends Component> navigationTarget) Creates a new router link for the given navigation target using the given text.RouterLink(Router router, String text, Class<? extends Component> navigationTarget, RouteParameters parameters) Creates a new router link for the given navigation target using the given text and parameters. -
Uses of Router in com.vaadin.flow.router.internal
Methods in com.vaadin.flow.router.internal that return RouterModifier and TypeMethodDescriptionResolveRequest.getRouter()Gets the router that this request originates from.Methods in com.vaadin.flow.router.internal with parameters of type RouterModifier and TypeMethodDescriptionprotected abstract List<Class<? extends RouterLayout>>AbstractNavigationStateRenderer.getRouterLayoutTypes(Class<? extends Component> routeTargetType, Router router) Gets the router layout types to show for the given route target type, starting from the parent layout immediately wrapping the route target type.List<Class<? extends RouterLayout>>ErrorStateRenderer.getRouterLayoutTypes(Class<? extends Component> targetType, Router router) Gets the router layout types to show for the given route target type, starting from the parent layout immediately wrapping the route target type.protected List<Class<? extends RouterLayout>>NavigationStateRenderer.getRouterLayoutTypes(Class<? extends Component> targetType, Router router) Constructors in com.vaadin.flow.router.internal with parameters of type RouterModifierConstructorDescriptionResolveRequest(Router router, Location location) Constructs a new ResolveRequest with the given Router and Location. -
Uses of Router in com.vaadin.flow.server
Methods in com.vaadin.flow.server that return Router -
Uses of Router in com.vaadin.flow.server.auth
Methods in com.vaadin.flow.server.auth that return RouterModifier and TypeMethodDescriptionNavigationContext.getRouter()Gets the router that triggered the navigation change.Constructors in com.vaadin.flow.server.auth with parameters of type RouterModifierConstructorDescriptionNavigationContext(Router router, Class<?> navigationTarget, Location location, RouteParameters parameters, Principal principal, Predicate<String> roleChecker, boolean errorHandling) Creates a new navigation context instance.