Class ThemeProvider

java.lang.Object
org.jgrapes.webconsole.jqueryui.ThemeProvider
Direct Known Subclasses:
Provider

public abstract class ThemeProvider extends Object
Represents a theme provider.
  • Constructor Details

  • Method Details

    • themeId

      public abstract String themeId()
      Return the id of the theme.
      Returns:
      the result
    • themeName

      public String themeName()
      Return the name of the theme.

      The default implementation uses the theme id, replaces underscores with spaces and capitalizes the first character.

      Returns:
      the result
    • getResource

      Find the requested resource.
      Parameters:
      name - the resource name
      Returns:
      the data as input stream
      Throws:
      ResourceNotFoundException