Package com.vaadin.flow.router
Interface HasUrlParameter<T>
- Type Parameters:
T
- type parameter type
- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Defines route parameters for navigation targets for use in routing.
- Since:
- 1.0.
- Author:
- Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setParameter
(BeforeEvent event, T parameter) Notifies about navigating to the target that implements this interface.
-
Method Details
-
setParameter
Notifies about navigating to the target that implements this interface.- Parameters:
event
- the navigation event that caused the call to this methodparameter
- the resolved url parameter
-