Package org.oscim.theme
Enum VtmThemes
- java.lang.Object
-
- java.lang.Enum<VtmThemes>
-
- org.oscim.theme.VtmThemes
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIKERDEFAULTMAPZENNEWTRONOPENMAPTILESOSMAGRAYOSMARENDERTRONRENDER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.oscim.theme.XmlRenderThemeMenuCallbackgetMenuCallback()java.lang.StringgetRelativePathPrefix()java.io.InputStreamgetRenderThemeAsStream()org.oscim.theme.XmlThemeResourceProvidergetResourceProvider()booleanisMapsforgeTheme()voidsetMapsforgeTheme(boolean mapsforgeTheme)voidsetMenuCallback(org.oscim.theme.XmlRenderThemeMenuCallback menuCallback)voidsetResourceProvider(org.oscim.theme.XmlThemeResourceProvider resourceProvider)static VtmThemesvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static VtmThemes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final VtmThemes DEFAULT
-
BIKER
public static final VtmThemes BIKER
-
MAPZEN
public static final VtmThemes MAPZEN
-
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 Detail
-
values
public static VtmThemes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VtmThemes c : VtmThemes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VtmThemes valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getMenuCallback
public org.oscim.theme.XmlRenderThemeMenuCallback getMenuCallback()
- Specified by:
getMenuCallbackin interfaceorg.oscim.theme.ThemeFile
-
getRelativePathPrefix
public java.lang.String getRelativePathPrefix()
- Specified by:
getRelativePathPrefixin interfaceorg.oscim.theme.ThemeFile
-
getRenderThemeAsStream
public java.io.InputStream getRenderThemeAsStream() throws org.oscim.theme.IRenderTheme.ThemeException- 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
-
-