java.io.Serializable, java.lang.Comparable<FontScheme>public enum FontScheme extends java.lang.Enum<FontScheme>
| Modifier and Type | Method | Description |
|---|---|---|
int |
getValue() |
|
static FontScheme |
valueOf(int value) |
Returns the enum constant of this type with the specified name.
|
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)
value - 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 nullCopyright 2018 The Apache Software Foundation or its licensors, as applicable.