Enum Class VtmThemes

java.lang.Object
java.lang.Enum<VtmThemes>
org.oscim.theme.VtmThemes
All Implemented Interfaces:
Serializable, Comparable<VtmThemes>, Constable, org.oscim.theme.ThemeFile

public enum VtmThemes extends Enum<VtmThemes> implements org.oscim.theme.ThemeFile
Enumeration of all internal rendering themes.
  • Enum Constant Details

    • DEFAULT

      public static final VtmThemes DEFAULT
    • BIKER

      public static final VtmThemes BIKER
    • MAPZEN

      public static final VtmThemes MAPZEN
    • MOTORIDER

      public static final VtmThemes MOTORIDER
    • MOTORIDER_DARK

      public static final VtmThemes MOTORIDER_DARK
    • NEWTRON

      public static final VtmThemes NEWTRON
    • OPENMAPTILES

      public static final VtmThemes OPENMAPTILES
    • OSMAGRAY

      public static final VtmThemes OSMAGRAY
    • OSMARENDER

      public static final VtmThemes OSMARENDER
    • TRONRENDER

      public static final VtmThemes TRONRENDER
  • Method Details

    • values

      public static VtmThemes[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static VtmThemes valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getMenuCallback

      public org.oscim.theme.XmlRenderThemeMenuCallback getMenuCallback()
      Specified by:
      getMenuCallback in interface org.oscim.theme.ThemeFile
    • getRelativePathPrefix

      public String getRelativePathPrefix()
      Specified by:
      getRelativePathPrefix in interface org.oscim.theme.ThemeFile
    • getRenderThemeAsStream

      public InputStream getRenderThemeAsStream() throws org.oscim.theme.IRenderTheme.ThemeException
      Specified by:
      getRenderThemeAsStream in interface org.oscim.theme.ThemeFile
      Throws:
      org.oscim.theme.IRenderTheme.ThemeException
    • getResourceProvider

      public org.oscim.theme.XmlThemeResourceProvider getResourceProvider()
      Specified by:
      getResourceProvider in interface org.oscim.theme.ThemeFile
    • isMapsforgeTheme

      public boolean isMapsforgeTheme()
      Specified by:
      isMapsforgeTheme in interface org.oscim.theme.ThemeFile
    • setMapsforgeTheme

      public void setMapsforgeTheme(boolean mapsforgeTheme)
      Specified by:
      setMapsforgeTheme in interface org.oscim.theme.ThemeFile
    • setMenuCallback

      public void setMenuCallback(org.oscim.theme.XmlRenderThemeMenuCallback menuCallback)
      Specified by:
      setMenuCallback in interface org.oscim.theme.ThemeFile
    • setResourceProvider

      public void setResourceProvider(org.oscim.theme.XmlThemeResourceProvider resourceProvider)
      Specified by:
      setResourceProvider in interface org.oscim.theme.ThemeFile