Enum Class 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionorg.mapsforge.map.rendertheme.XmlRenderThemeMenuCallbackorg.mapsforge.map.rendertheme.XmlThemeResourceProvidervoidsetMenuCallback(org.mapsforge.map.rendertheme.XmlRenderThemeMenuCallback menuCallback) voidsetResourceProvider(org.mapsforge.map.rendertheme.XmlThemeResourceProvider resourceProvider) static MapsforgeThemesReturns the enum constant of this class with the specified name.static MapsforgeThemes[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BIKER
-
DEFAULT
-
HILLSHADING
-
MOTORIDER
-
OSMARENDER
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getMenuCallback
public org.mapsforge.map.rendertheme.XmlRenderThemeMenuCallback getMenuCallback()- Specified by:
getMenuCallbackin interfaceorg.mapsforge.map.rendertheme.XmlRenderTheme
-
getRelativePathPrefix
- Specified by:
getRelativePathPrefixin interfaceorg.mapsforge.map.rendertheme.XmlRenderTheme- Returns:
- the prefix for all relative resource paths.
-
getRenderThemeAsStream
- Specified by:
getRenderThemeAsStreamin interfaceorg.mapsforge.map.rendertheme.XmlRenderTheme
-
getResourceProvider
public org.mapsforge.map.rendertheme.XmlThemeResourceProvider getResourceProvider()- Specified by:
getResourceProviderin interfaceorg.mapsforge.map.rendertheme.XmlRenderTheme
-
setMenuCallback
public void setMenuCallback(org.mapsforge.map.rendertheme.XmlRenderThemeMenuCallback menuCallback) - Specified by:
setMenuCallbackin interfaceorg.mapsforge.map.rendertheme.XmlRenderTheme
-
setResourceProvider
public void setResourceProvider(org.mapsforge.map.rendertheme.XmlThemeResourceProvider resourceProvider) - Specified by:
setResourceProviderin interfaceorg.mapsforge.map.rendertheme.XmlRenderTheme
-