Uses of Enum Class
com.vaadin.flow.router.NavigationTrigger
Packages that use NavigationTrigger
-
Uses of NavigationTrigger in com.vaadin.flow.component.page
Methods in com.vaadin.flow.component.page that return NavigationTriggerModifier and TypeMethodDescriptionHistory.HistoryStateChangeEvent.getTrigger()
Gets the type of user action that triggered this history change.Constructors in com.vaadin.flow.component.page with parameters of type NavigationTriggerModifierConstructorDescriptionHistoryStateChangeEvent
(History history, elemental.json.JsonValue state, Location location, NavigationTrigger trigger) Creates a new event. -
Uses of NavigationTrigger in com.vaadin.flow.router
Methods in com.vaadin.flow.router that return NavigationTriggerModifier and TypeMethodDescriptionBeforeEvent.getTrigger()
Gets the type of user action that triggered this location change.LocationChangeEvent.getTrigger()
Gets the type of user action that triggered this location change.NavigationEvent.getTrigger()
Gets the type of user action that triggered this navigation event.static NavigationTrigger
Returns the enum constant of this class with the specified name.static NavigationTrigger[]
NavigationTrigger.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.vaadin.flow.router with parameters of type NavigationTriggerModifier and TypeMethodDescriptionint
Router.navigate
(UI ui, Location location, NavigationTrigger trigger) Navigates the given UI to the given location.int
Router.navigate
(UI ui, Location location, NavigationTrigger trigger, elemental.json.JsonValue state) Navigates the given UI to the given location.int
Router.navigate
(UI ui, Location location, NavigationTrigger trigger, elemental.json.JsonValue state, boolean forceInstantiation, boolean recreateLayoutChain) Navigates the given UI to the given location.Constructors in com.vaadin.flow.router with parameters of type NavigationTriggerModifierConstructorDescriptionBeforeEnterEvent
(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, elemental.json.JsonValue 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, elemental.json.JsonValue state, boolean forwardTo) Creates a new navigation event.NavigationEvent
(Router router, Location location, UI ui, NavigationTrigger trigger, elemental.json.JsonValue state, boolean forwardTo, boolean forceInstantiation, boolean recreateLayoutChain) Creates a new navigation event.