Package org.oscim.theme
Enum Class VtmThemes
- All Implemented Interfaces:
Serializable,Comparable<VtmThemes>,Constable,org.oscim.theme.ThemeFile
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 ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionorg.oscim.theme.XmlRenderThemeMenuCallbackorg.oscim.theme.XmlThemeResourceProviderbooleanvoidsetMapsforgeTheme(boolean mapsforgeTheme) voidsetMenuCallback(org.oscim.theme.XmlRenderThemeMenuCallback menuCallback) voidsetResourceProvider(org.oscim.theme.XmlThemeResourceProvider resourceProvider) static VtmThemesReturns the enum constant of this class with the specified name.static VtmThemes[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
-
BIKER
-
MAPZEN
-
MOTORIDER
-
MOTORIDER_DARK
-
NEWTRON
-
OPENMAPTILES
-
OSMAGRAY
-
OSMARENDER
-
TRONRENDER
-
-
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.oscim.theme.XmlRenderThemeMenuCallback getMenuCallback()- Specified by:
getMenuCallbackin interfaceorg.oscim.theme.ThemeFile
-
getRelativePathPrefix
- Specified by:
getRelativePathPrefixin interfaceorg.oscim.theme.ThemeFile
-
getRenderThemeAsStream
- Specified by:
getRenderThemeAsStreamin interfaceorg.oscim.theme.ThemeFile- Throws:
org.oscim.theme.IRenderTheme.ThemeException
-
getResourceProvider
public org.oscim.theme.XmlThemeResourceProvider getResourceProvider()- Specified by:
getResourceProviderin interfaceorg.oscim.theme.ThemeFile
-
isMapsforgeTheme
public boolean isMapsforgeTheme()- Specified by:
isMapsforgeThemein interfaceorg.oscim.theme.ThemeFile
-
setMapsforgeTheme
public void setMapsforgeTheme(boolean mapsforgeTheme) - Specified by:
setMapsforgeThemein interfaceorg.oscim.theme.ThemeFile
-
setMenuCallback
public void setMenuCallback(org.oscim.theme.XmlRenderThemeMenuCallback menuCallback) - Specified by:
setMenuCallbackin interfaceorg.oscim.theme.ThemeFile
-
setResourceProvider
public void setResourceProvider(org.oscim.theme.XmlThemeResourceProvider resourceProvider) - Specified by:
setResourceProviderin interfaceorg.oscim.theme.ThemeFile
-