public enum FontScheme extends java.lang.Enum<FontScheme>
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static FontScheme |
valueOf(int value) |
static FontScheme |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FontScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontScheme NONE
public static final FontScheme MAJOR
public static final FontScheme MINOR
public static FontScheme[] values()
for (FontScheme c : FontScheme.values()) System.out.println(c);
public static FontScheme 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 int getValue()
public static FontScheme valueOf(int value)
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.