| 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 |
|---|---|
Optional<ThemeDefinition> |
WebComponentUI.getThemeFor(Class<?> navigationTarget,
String path) |
| 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 |
|---|---|
Set<File> |
FrontendWebComponentGenerator.generateWebComponents(File outputDirectory,
ThemeDefinition theme)
Collects
WebComponentModulesWriter
class and classes that extend
WebComponentExporter/WebComponentExporterFactory
using finder. |
| Modifier and Type | Method and Description |
|---|---|
ThemeDefinition |
FrontendDependenciesScanner.getThemeDefinition()
Get the
ThemeDefinition of the application. |
ThemeDefinition |
FrontendDependencies.getThemeDefinition()
Get the
ThemeDefinition of the application. |
| Modifier and Type | Method and Description |
|---|---|
static ThemeDefinition |
ThemeUtil.findThemeForNavigationTarget(UI ui,
Class<?> navigationTarget,
String path)
Find annotated theme for navigationTarget on given path or lumo if
available.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<ThemeDefinition> |
ThemeUtil.getLumoThemeDefinition()
Gets the
Lumo theme definition (default theme) if it's available
in the classpath. |
| Modifier and Type | Class and Description |
|---|---|
class |
LumoThemeDefinition
Lumo theme definition. |
Copyright © 2025. All rights reserved.