public enum FontScheme extends Enum<FontScheme>
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static FontScheme |
valueOf(int value) |
static FontScheme |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static FontScheme valueOf(int value)
Copyright © 2020. All rights reserved.