Class ThemeWrapper
java.lang.Object
io.jmix.flowui.devserver.frontend.scanner.ThemeWrapper
- All Implemented Interfaces:
com.vaadin.flow.theme.AbstractTheme,Serializable
public class ThemeWrapper
extends Object
implements com.vaadin.flow.theme.AbstractTheme, Serializable
A wrapper for the Theme instance that use reflection for executing its
methods. This is needed because updaters can be executed from maven plugins
that use different classloaders for the running process and for the project
configuration.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ThemeWrapper
public ThemeWrapper(Class<? extends com.vaadin.flow.theme.AbstractTheme> theme) throws InstantiationException, IllegalAccessException
-
-
Method Details
-
getBaseUrl
- Specified by:
getBaseUrlin interfacecom.vaadin.flow.theme.AbstractTheme
-
getThemeUrl
- Specified by:
getThemeUrlin interfacecom.vaadin.flow.theme.AbstractTheme
-
getHtmlAttributes
- Specified by:
getHtmlAttributesin interfacecom.vaadin.flow.theme.AbstractTheme
-
getHeaderInlineContents
- Specified by:
getHeaderInlineContentsin interfacecom.vaadin.flow.theme.AbstractTheme
-
translateUrl
- Specified by:
translateUrlin interfacecom.vaadin.flow.theme.AbstractTheme
-