| Package | Description |
|---|---|
| com.vaadin.flow.component | |
| com.vaadin.flow.server | |
| com.vaadin.flow.server.startup |
| Modifier and Type | Method and Description |
|---|---|
Optional<ThemeDefinition> |
UI.getThemeFor(Class<?> navigationTarget,
String path)
Gets the
ThemeDefinition associated with the given navigation
target, if any. |
| Modifier and Type | Method and Description |
|---|---|
protected Optional<ThemeDefinition> |
BootstrapHandler.BootstrapContext.getTheme()
Gets the
ThemeDefinition associated with the
pageConfigurationHolder of this context, if any. |
| Modifier and Type | Method and Description |
|---|---|
ThemeDefinition |
RouteTarget.getThemeFor(Class<?> target)
Gets the theme that should be used for the given navigation target.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<ThemeDefinition> |
RouteRegistry.getThemeFor(Class<?> navigationTarget,
String path)
Gets the
ThemeDefinition associated with the given navigation
target, if any. |
| Modifier and Type | Method and Description |
|---|---|
void |
RouteTarget.setThemeFor(Class<?> target,
ThemeDefinition theme)
Sets the theme used by this RouteTarget for a given navigation target.
|
Copyright © 2000–2019 Vaadin Ltd. All rights reserved.