Package | Description |
---|---|
com.vaadin.flow.component.page | |
com.vaadin.flow.router |
Modifier and Type | Method and Description |
---|---|
NavigationTrigger |
History.HistoryStateChangeEvent.getTrigger()
Gets the type of user action that triggered this history change.
|
Constructor and Description |
---|
HistoryStateChangeEvent(History history,
elemental.json.JsonValue state,
Location location,
NavigationTrigger trigger)
Creates a new event.
|
Modifier and Type | Method and Description |
---|---|
NavigationTrigger |
NavigationEvent.getTrigger()
Gets the type of user action that triggered this navigation event.
|
NavigationTrigger |
LocationChangeEvent.getTrigger()
Gets the type of user action that triggered this location change.
|
NavigationTrigger |
BeforeEvent.getTrigger()
Gets the type of user action that triggered this location change.
|
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.
|
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
BeforeEnterEvent(Router router,
NavigationTrigger trigger,
Location location,
Class<?> navigationTarget,
RouteParameters parameters,
UI ui,
List<Class<? extends RouterLayout>> layouts)
Constructs a new BeforeEnterEvent.
|
BeforeEnterEvent(Router router,
NavigationTrigger trigger,
Location location,
Class<?> navigationTarget,
UI ui)
Deprecated.
|
BeforeEnterEvent(Router router,
NavigationTrigger trigger,
Location location,
Class<?> navigationTarget,
UI ui,
List<Class<? extends RouterLayout>> layouts)
Constructs a new BeforeEnterEvent.
|
BeforeEvent(Router router,
NavigationTrigger trigger,
Location location,
Class<?> navigationTarget,
RouteParameters parameters,
UI ui,
List<Class<? extends RouterLayout>> layouts)
Constructs a new BeforeEvent.
|
BeforeEvent(Router router,
NavigationTrigger trigger,
Location location,
Class<?> navigationTarget,
UI ui)
Deprecated.
|
BeforeEvent(Router router,
NavigationTrigger trigger,
Location location,
Class<?> navigationTarget,
UI ui,
List<Class<? extends RouterLayout>> layouts)
Constructs a new BeforeEvent.
|
BeforeLeaveEvent(Router router,
NavigationTrigger trigger,
Location location,
Class<?> navigationTarget,
RouteParameters parameters,
UI ui,
List<Class<? extends RouterLayout>> layouts)
Constructs a new BeforeLeaveEvent.
|
BeforeLeaveEvent(Router router,
NavigationTrigger trigger,
Location location,
Class<?> navigationTarget,
UI ui)
Deprecated.
|
BeforeLeaveEvent(Router router,
NavigationTrigger trigger,
Location location,
Class<?> navigationTarget,
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.
|
Copyright © 2025. All rights reserved.