Package | Description |
---|---|
com.vaadin.flow.component | |
com.vaadin.flow.component.internal | |
com.vaadin.flow.router | |
com.vaadin.flow.router.internal | |
com.vaadin.flow.server |
Modifier and Type | Method and Description |
---|---|
Router |
UI.getRouter()
Gets the router used for navigating in this UI.
|
Modifier and Type | Method and Description |
---|---|
Router |
UIInternals.getRouter()
Gets the router used for navigating in this UI, if the router was active
when this UI was initialized.
|
Modifier and Type | Method and Description |
---|---|
Router |
NavigationEvent.getSource() |
Router |
LocationChangeEvent.getSource() |
Router |
BeforeEvent.getSource() |
Router |
AfterNavigationEvent.getSource() |
Modifier and Type | Method and Description |
---|---|
<T,C extends Component & HasUrlParameter<T>> |
RouterLink.setRoute(Router router,
Class<? extends C> navigationTarget,
T parameter)
Set the navigation target for this link.
|
void |
RouterLink.setRoute(Router router,
Class<? extends Component> navigationTarget)
Set the navigation target for this link.
|
Constructor and Description |
---|
BeforeEnterEvent(Router router,
NavigationTrigger trigger,
Location location,
Class<?> navigationTarget,
UI ui)
Constructs a new BeforeNavigation Event.
|
BeforeEvent(Router router,
NavigationTrigger trigger,
Location location,
Class<?> navigationTarget,
UI ui)
Constructs a new BeforeNavigation Event.
|
BeforeLeaveEvent(Router router,
NavigationTrigger trigger,
Location location,
Class<?> navigationTarget,
UI ui)
Constructs a new BeforeNavigation Event.
|
ErrorNavigationEvent(Router router,
Location location,
UI ui,
NavigationTrigger trigger,
ErrorParameter<?> errorParameter)
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Router |
ResolveRequest.getRouter()
Gets the router that this request originates from.
|
Constructor and Description |
---|
ResolveRequest(Router router,
Location location)
Constructs a new ResolveRequest with the given Router and Location.
|
Modifier and Type | Method and Description |
---|---|
Router |
VaadinService.getRouter()
Gets the router used for UIs served by this service.
|
Copyright © 2018. All rights reserved.