Modifier and Type | Method and Description |
---|---|
void |
UIInternals.setTheme(AbstractTheme theme)
Deprecated.
use
UIInternals.setTheme(Class) instead |
Modifier and Type | Method and Description |
---|---|
void |
UIInternals.setTheme(Class<? extends AbstractTheme> themeClass)
Sets the theme using its
themeClass . |
Modifier and Type | Method and Description |
---|---|
URL |
VaadinServletService.getResource(String path,
WebBrowser browser,
AbstractTheme theme) |
abstract URL |
VaadinService.getResource(String url,
WebBrowser browser,
AbstractTheme theme)
Returns a URL to the resource at the given Vaadin URI.
|
InputStream |
VaadinServletService.getResourceAsStream(String path,
WebBrowser browser,
AbstractTheme theme) |
abstract InputStream |
VaadinService.getResourceAsStream(String url,
WebBrowser browser,
AbstractTheme theme)
Opens a stream to to the resource at the given Vaadin URI.
|
Optional<String> |
VaadinServletService.getThemedUrl(String url,
WebBrowser browser,
AbstractTheme theme) |
abstract Optional<String> |
VaadinService.getThemedUrl(String url,
WebBrowser browser,
AbstractTheme theme)
Checks if the given URL has a themed version.
|
boolean |
VaadinService.isResourceAvailable(String url,
WebBrowser browser,
AbstractTheme theme)
Checks if a resource is available at the given Vaadin URI.
|
Modifier and Type | Method and Description |
---|---|
AbstractTheme |
UidlWriter.ResolveContext.getTheme()
Gets the theme used for resolving.
|
Constructor and Description |
---|
ResolveContext(VaadinService service,
WebBrowser browser,
AbstractTheme theme)
Creates a new context.
|
Modifier and Type | Method and Description |
---|---|
AbstractTheme |
FrontendDependenciesScanner.getTheme()
Get the
AbstractTheme instance used in the application. |
AbstractTheme |
FrontendDependencies.getTheme()
Get the
AbstractTheme instance used in the application. |
Modifier and Type | Method and Description |
---|---|
Class<? extends AbstractTheme> |
ThemeDefinition.getTheme()
Gets the theme class.
|
Constructor and Description |
---|
ThemeDefinition(Class<? extends AbstractTheme> theme,
String variant,
String name)
Creates a definition with the given them class and variant.
|
Modifier and Type | Class and Description |
---|---|
class |
Lumo
Lumo component theme class implementation.
|
Modifier and Type | Class and Description |
---|---|
class |
Material
Material component theme class implementation.
|
Copyright © 2025. All rights reserved.