Enum Class MapsforgeThemes

java.lang.Object
java.lang.Enum<MapsforgeThemes>
org.mapsforge.map.rendertheme.internal.MapsforgeThemes
All Implemented Interfaces:
Serializable, Comparable<MapsforgeThemes>, Constable, org.mapsforge.map.rendertheme.XmlRenderTheme

public enum MapsforgeThemes extends Enum<MapsforgeThemes> implements org.mapsforge.map.rendertheme.XmlRenderTheme
Enumeration of all internal rendering themes.
  • Enum Constant Details

  • Method Details

    • values

      public static MapsforgeThemes[] 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 MapsforgeThemes 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.mapsforge.map.rendertheme.XmlRenderThemeMenuCallback getMenuCallback()
      Specified by:
      getMenuCallback in interface org.mapsforge.map.rendertheme.XmlRenderTheme
    • getRelativePathPrefix

      public String getRelativePathPrefix()
      Specified by:
      getRelativePathPrefix in interface org.mapsforge.map.rendertheme.XmlRenderTheme
      Returns:
      the prefix for all relative resource paths.
    • getRenderThemeAsStream

      public InputStream getRenderThemeAsStream()
      Specified by:
      getRenderThemeAsStream in interface org.mapsforge.map.rendertheme.XmlRenderTheme
    • getResourceProvider

      public org.mapsforge.map.rendertheme.XmlThemeResourceProvider getResourceProvider()
      Specified by:
      getResourceProvider in interface org.mapsforge.map.rendertheme.XmlRenderTheme
    • setMenuCallback

      public void setMenuCallback(org.mapsforge.map.rendertheme.XmlRenderThemeMenuCallback menuCallback)
      Specified by:
      setMenuCallback in interface org.mapsforge.map.rendertheme.XmlRenderTheme
    • setResourceProvider

      public void setResourceProvider(org.mapsforge.map.rendertheme.XmlThemeResourceProvider resourceProvider)
      Specified by:
      setResourceProvider in interface org.mapsforge.map.rendertheme.XmlRenderTheme