Uses of Class
com.vaadin.flow.router.NavigationTrigger
-
Packages that use NavigationTrigger Package Description com.vaadin.flow.component.page com.vaadin.flow.router -
-
Uses of NavigationTrigger in com.vaadin.flow.component.page
Methods in com.vaadin.flow.component.page that return NavigationTrigger Modifier and Type Method Description NavigationTrigger
History.HistoryStateChangeEvent. getTrigger()
Gets the type of user action that triggered this history change.Constructors in com.vaadin.flow.component.page with parameters of type NavigationTrigger Constructor Description HistoryStateChangeEvent(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 NavigationTrigger Modifier and Type Method Description NavigationTrigger
BeforeEvent. getTrigger()
Gets the type of user action that triggered this location change.NavigationTrigger
LocationChangeEvent. getTrigger()
Gets the type of user action that triggered this location change.NavigationTrigger
NavigationEvent. getTrigger()
Gets the type of user action that triggered this navigation event.static NavigationTrigger
NavigationTrigger. valueOf(String name)
Returns the enum constant of this type with the specified name.static NavigationTrigger[]
NavigationTrigger. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.vaadin.flow.router with parameters of type NavigationTrigger Modifier and Type Method Description int
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.Constructors in com.vaadin.flow.router with parameters of type NavigationTrigger Constructor Description BeforeEnterEvent(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.
-