All Known Implementing Classes:
BootstrapTheme, Theme

public interface ITheme
#### Description Interface that represents a theme. A theme is responsible for rendering of all web resources that are needed.
  • Field Details

    • BOOTSTRAP_THEME_MARKUP_ID

      static final String BOOTSTRAP_THEME_MARKUP_ID
      The markup id to use for the CSS resource reference. If the theme is changed in an Ajax response wicket-ajax.js will properly remove the old <link> and add the new one.
      See Also:
  • Method Details

    • name

      String name()
      Returns:
      The unique name of this theme.
    • getDependencies

      List<HeaderItem> getDependencies()
      Returns:
      A list of all resources needed by the theme
    • renderHead

      void renderHead(IHeaderResponse response)
      Print to the web response what ever the ITheme wants to contribute to the head section.
      Parameters:
      response - The IHeaderResponse instance
    • getCdnUrls

      Iterable<String> getCdnUrls()
      Returns:
      The urls to CDN CSS resources to use for this theme