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 Details

  • Method Details

    • getBaseUrl

      public String getBaseUrl()
      Specified by:
      getBaseUrl in interface com.vaadin.flow.theme.AbstractTheme
    • getThemeUrl

      public String getThemeUrl()
      Specified by:
      getThemeUrl in interface com.vaadin.flow.theme.AbstractTheme
    • getHtmlAttributes

      public Map<String,String> getHtmlAttributes(String variant)
      Specified by:
      getHtmlAttributes in interface com.vaadin.flow.theme.AbstractTheme
    • getHeaderInlineContents

      public List<String> getHeaderInlineContents()
      Specified by:
      getHeaderInlineContents in interface com.vaadin.flow.theme.AbstractTheme
    • translateUrl

      public String translateUrl(String url)
      Specified by:
      translateUrl in interface com.vaadin.flow.theme.AbstractTheme