public enum GlyphProviderTypes extends java.lang.Enum<GlyphProviderTypes>
Enum Constant and Description |
---|
BITMAP |
LEGACY_UNICODE |
TTF |
Modifier and Type | Field and Description |
---|---|
private java.util.function.Function<com.google.gson.JsonObject,IGlyphProviderFactory> |
factoryDeserializer |
private java.lang.String |
name |
private static java.util.Map<java.lang.String,GlyphProviderTypes> |
TYPES_BY_NAME |
Modifier and Type | Method and Description |
---|---|
static GlyphProviderTypes |
byName(java.lang.String typeIn) |
IGlyphProviderFactory |
getFactory(com.google.gson.JsonObject jsonIn) |
static GlyphProviderTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GlyphProviderTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GlyphProviderTypes BITMAP
public static final GlyphProviderTypes TTF
public static final GlyphProviderTypes LEGACY_UNICODE
private static final java.util.Map<java.lang.String,GlyphProviderTypes> TYPES_BY_NAME
private final java.lang.String name
private final java.util.function.Function<com.google.gson.JsonObject,IGlyphProviderFactory> factoryDeserializer
public static GlyphProviderTypes[] values()
for (GlyphProviderTypes c : GlyphProviderTypes.values()) System.out.println(c);
public static GlyphProviderTypes valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static GlyphProviderTypes byName(java.lang.String typeIn)
public IGlyphProviderFactory getFactory(com.google.gson.JsonObject jsonIn)