Package com.vaadin.flow.router
Interface HasDynamicTitle
-
- 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.
@FunctionalInterface public interface HasDynamicTitle extends Serializable
Allows to resolve navigation target title dynamically at runtime.NOTE: It is not legal for a class to both implement
HasDynamicTitle
and have aPageTitle
annotation.- Since:
- 1.0.
- Author:
- Vaadin Ltd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getPageTitle()
Gets the title of this navigation target.
-
-
-
Method Detail
-
getPageTitle
String getPageTitle()
Gets the title of this navigation target.- Returns:
- the title of this navigation target
-
-